CapybaraObject
ThaumielMapEditor.API.Blocks.ClientSide
Overviewβ
Propertiesβ
| Name | Type | Access | Description |
|---|---|---|---|
AssetId | UInt32 | get set | Gets or sets the asset id of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance. |
CollisionsEnabled | bool | get set | No description |
IsStatic | bool | get set | Gets or sets |
MovementSmoothing | byte | get set | Gets or sets the sync interval of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase. |
Name | string | get set | No description |
NetId | UInt32 | get set | Gets or sets the netid of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance. |
ObjectType | ObjectType | get set | Gets or sets the object type of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance. |
Position | Vector3 | get set | Gets or sets the position of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance. |
Rotation | Quaternion | get set | Gets or sets the rotation of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance. |
Scale | Vector3 | get set | Gets or sets the scale of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance. |
Schematic | SchematicData | get set | Gets or sets the ThaumielMapEditor.API.Data.SchematicData this ThaumielMapEditor.API.Blocks.ClientSide.CapybaraObject is spawned from. |
Methodsβ
| Signature | Returns | Description |
|---|---|---|
SpawnForPlayer(Player) | void | Spawns the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instan⦠|
Propertiesβ
AssetIdβ
Type: UInt32βAccess: get set
Gets or sets the asset id of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance.
CollisionsEnabledβ
Type: boolβAccess: get set
IsStaticβ
Type: boolβAccess: get set
Gets or sets
MovementSmoothingβ
Type: byteβAccess: get set
Gets or sets the sync interval of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase.
Nameβ
Type: stringβAccess: get set
NetIdβ
Type: UInt32βAccess: get set
Gets or sets the netid of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance.
ObjectTypeβ
Type: ObjectTypeβAccess: get set
Gets or sets the object type of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance.
Positionβ
Type: Vector3βAccess: get set
Gets or sets the position of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance.
This will be automatically synced to players.
Rotationβ
Type: QuaternionβAccess: get set
Gets or sets the rotation of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance.
This will be automatically synced to players.
Scaleβ
Type: Vector3βAccess: get set
Gets or sets the scale of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance.
This will be automatically synced to players.
Schematicβ
Type: SchematicDataβAccess: get set
Gets or sets the ThaumielMapEditor.API.Data.SchematicData this ThaumielMapEditor.API.Blocks.ClientSide.CapybaraObject is spawned from.
Methodsβ
SpawnForPlayerβ
public void SpawnForPlayer(Player player)
Spawns the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance for the specified player.
Parametersβ
| Name | Type | Description |
|---|---|---|
player | Player |