Class Item¶
Represents an item
Namespace: VoxelTycoon
Constructors¶
Item()¶
Creates new item with default values.
Declaration
Properties¶
AssetId¶
The item asset's ID.
Declaration
Type | Description |
---|---|
int | ID of the item |
AssetUri¶
The item asset's URI.
Declaration
Type | Description |
---|---|
string | URI string of the item |
Color¶
The color of the item.
Declaration
Type | Description |
---|---|
Color | Item color |
ConveyorLength¶
Probably represents the length of the item on a conveyor belt.
Declaration
Type | Description |
---|---|
float | Length of the item |
DisplayName¶
Item's display name.
Declaration
Type | Description |
---|---|
DisplayString | String (and optional format) representing the item's name |
IsLiquid¶
Indicates is the item is a liquid.
Declaration
Type | Description |
---|---|
bool | Is true if the item is liquid |
Mesh¶
3D model of the item.
Declaration
Type | Description |
---|---|
Mesh | Mesh of the item |
Weight¶
Weight of the item.
Declaration
Type | Description |
---|---|
float | Item's weight |