Members
collision :boolean
Type:
- boolean
id :string
Type:
- string
material :material
Type:
- material
name :string
Type:
- string
vertexCount :number
Type:
- number
visibility :boolean
Type:
- boolean
wireframeMode :string
Type:
- string
Methods
setMeshCollision(newCollision) → {Promise}
Sets mesh collision
Parameters:
Name | Type | Description |
---|---|---|
newCollision |
boolean |
Returns:
resolved when done.
- Type
- Promise
setMeshMaterial(newMaterialName) → {Promise}
Sets mesh material
Parameters:
Name | Type | Description |
---|---|---|
newMaterialName |
string |
Returns:
resolved when done.
- Type
- Promise
setMeshVisibility(newVisibility) → {Promise}
Sets mesh visibility
Parameters:
Name | Type | Description |
---|---|---|
newVisibility |
boolean |
Returns:
resolved when done.
- Type
- Promise
setMeshWireframeMode(newWireframeMode) → {Promise}
Sets mesh wireframe mode
Parameters:
Name | Type | Description |
---|---|---|
newWireframeMode |
string |
Returns:
resolved when done.
- Type
- Promise