Data structure storing spatial (Position/Rotation/Scale/Parent) synchronization data for spatial synchronization components, NetworkTRSP and its subclass NetworkTransform. More...
Inherits INetworkStruct.
Public Attributes | |
NetworkId | AreaOfInterestOverride |
Id of a behaviour used as the reference point for this component during area of interest operations The behaviour should be a NetworkTRSP derived class, that is on the same Transform as its associated NetworkObject More... | |
NetworkBehaviourId | Parent |
Id of a NetworkBehaviour on the parent of the component's transform. More... | |
Vector3 | Position |
Position relevant for the spatial synchronization component (can be used to either store a local position or a world position, depending on the component) More... | |
Quaternion | Rotation |
Rotation relevant for the spatial synchronization component (can be used to either store a local rotation or a world rotation, depending on the component) More... | |
Vector3Compressed | Scale |
Scale relevant for the spatial synchronization component More... | |
int | TeleportKey |
Key used to differentiate between several teleports More... | |
Static Public Attributes | |
const int | POSITION_OFFSET = 2 |
Offset to point at the position values on the data buffer More... | |
const int | SIZE = WORDS * Allocator.REPLICATE_WORD_SIZE |
The actual size for the networked properties in bytes More... | |
const int | WORDS = 14 |
Networked properties word count for the base NetworkTRSPData More... | |
Properties | |
static NetworkBehaviourId | NonNetworkedParent [get] |
Special NetworkBehaviourId value, used as a flag to tell the parent is a non-networked object More... | |
Data structure storing spatial (Position/Rotation/Scale/Parent) synchronization data for spatial synchronization components, NetworkTRSP and its subclass NetworkTransform.
NetworkId AreaOfInterestOverride |
Id of a behaviour used as the reference point for this component during area of interest operations The behaviour should be a NetworkTRSP derived class, that is on the same Transform as its associated NetworkObject
NetworkBehaviourId Parent |
Id of a NetworkBehaviour on the parent of the component's transform.
Vector3 Position |
Position relevant for the spatial synchronization component (can be used to either store a local position or a world position, depending on the component)
|
static |
Offset to point at the position values on the data buffer
Quaternion Rotation |
Rotation relevant for the spatial synchronization component (can be used to either store a local rotation or a world rotation, depending on the component)
Vector3Compressed Scale |
Scale relevant for the spatial synchronization component
|
static |
The actual size for the networked properties in bytes
int TeleportKey |
Key used to differentiate between several teleports
|
static |
Networked properties word count for the base NetworkTRSPData
|
staticget |
Special NetworkBehaviourId value, used as a flag to tell the parent is a non-networked object