PrimitiveObject
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. |
Color | Color | 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. |
PrimitiveFlags | PrimitiveFlags | get set | No description |
PrimitiveType | PrimitiveType | get set | No description |
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 | No description |
ServerCollider | MeshCollider | get set | No description |
Methodsβ
| Signature | Returns | Description |
|---|---|---|
DeserializeValues(SerializableObject) | void | No 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.
Colorβ
Type: Colorβ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.
PrimitiveFlagsβ
Type: PrimitiveFlagsβAccess: get set
PrimitiveTypeβ
Type: PrimitiveTypeβAccess: get set
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
ServerColliderβ
Type: MeshColliderβAccess: get set
Methodsβ
DeserializeValuesβ
public void DeserializeValues(SerializableObject serializable)
Parametersβ
| Name | Type | Description |
|---|---|---|
serializable | SerializableObject |
SpawnForPlayerβ
public void SpawnForPlayer(Player player)
Spawns the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance for the specified player.
Parametersβ
| Name | Type | Description |
|---|---|---|
player | Player |