SetObjectMeshVisible
Description
Sets whether this object's mesh is visible or not. This only has an effect if the object is set as visible, if the object is not visible then none of its meshes will be drawn.
Definition
SetObjectMeshVisible(uint32_t objID, meshIndex,int mode)
void agk::SetObjectMeshVisible(uint32_t objID, uint32_t meshIndex,int mode)
Parameters
- objID - The ID of the object to modify.
- meshIndex - The index of the mesh to change, first mesh is at index 1.
- mode - 1 to set this object's mesh as visible, 0 to hide it.