Skip to main content

NetworkedObject

A Data object for forwarding simple transform information to the server.

note
  • Properties for NetworkedObjects should be seen only as data stores; do not associate them with Transforms. Use Items for getting/setting Transform properties on the client.
  • This type can be networked

Instance Properties

Property NameProperty TypeDefault ValueProperty Description
ObjectLocationstringString.EmptyThe location of an Object in a scene (For Hierarchy-based games only).
IgnoreObjectLocationboolfalseWhether or not to use ObjectLocation (This needs to be handled in the backend for non-hierarchy game engines).
Positionfloat3(0, 0, 0)The Position of the NetworkedObject
Rotationfloat4(0, 0, 0, 0) The Rotation of the NetworkedObject
Sizefloat3(0, 0, 0)The Size of the NetworkedObject