Skip to main content

PrimitiveObject

class ThaumielMapEditor.API.Blocks.ClientSide

Overview​

Properties​

NameTypeAccessDescription
AssetIdUInt32get setGets or sets the asset id of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance.
ColorColorget setNo description
IsStaticboolget setGets or sets
MovementSmoothingbyteget setGets or sets the sync interval of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase.
Namestringget setNo description
NetIdUInt32get setGets or sets the netid of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance.
ObjectTypeObjectTypeget setGets or sets the object type of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance.
PositionVector3get setGets or sets the position of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance.
PrimitiveFlagsPrimitiveFlagsget setNo description
PrimitiveTypePrimitiveTypeget setNo description
RotationQuaternionget setGets or sets the rotation of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance.
ScaleVector3get setGets or sets the scale of the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance.
SchematicSchematicDataget setNo description
ServerColliderMeshColliderget setNo description

Methods​

SignatureReturnsDescription
DeserializeValues(SerializableObject)voidNo description
SpawnForPlayer(Player)voidSpawns 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.

note

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.

note

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.

note

This will be automatically synced to players.


Schematic​

Type: SchematicData Access: get set


ServerCollider​

Type: MeshCollider Access: get set


Methods​

DeserializeValues​

DeserializeValues
public void DeserializeValues(SerializableObject serializable)

Parameters​

NameTypeDescription
serializableSerializableObject

SpawnForPlayer​

SpawnForPlayer
public void SpawnForPlayer(Player player)

Spawns the ThaumielMapEditor.API.Blocks.ClientSide.ClientSideObjectBase instance for the specified player.

Parameters​

NameTypeDescription
playerPlayer