SetObjectMeshCastShadow

Description

Sets whether this object's mesh casts a shadow or not. This only has an effect if the object is set as casting a shadow, if the object is set to not cast a shadow then none of its meshes will cast shadows. By default all meshes are set as casting a shadow but all objects are set as not casting a shadow. Therefore you can enable and disable shadow casting for an object by toggling the object cast mode. This mesh casting command can be used to exclude particular meshes from the shadow cast routine if desired.

Definition

SetObjectMeshCastShadow(uint32_t objID, meshIndex,int mode)

Parameters