Shape.getMaterialId
Returns the material id of a shape.
Kind: Function
Environments: Game
Game
shape:getMaterialId( )
Parameters:
| Name | Type | Description |
|---|---|---|
shape |
Shape | The shape. |
Returns:
| Type | Description |
|---|---|
| integer | The shape's material id. |
Returns the material id of a shape.
Kind: Function
Environments: Game
shape:getMaterialId( )
Parameters:
| Name | Type | Description |
|---|---|---|
shape |
Shape | The shape. |
Returns:
| Type | Description |
|---|---|
| integer | The shape's material id. |