Harvestable.setSubMeshVisible
Set the visibility of a submesh
Kind: Function
Environments: Game
Game
harvestable:setSubMeshVisible( name, visible )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
harvestable |
Harvestable | The harvestable. |
name |
string | Name of the submesh. |
visible |
boolean | True if the submesh should be visible. |