Photon Fusion
2.1.1
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. | |
| 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). | |
| 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. | |
| int | TeleportKey |
| Key used to differentiate between several teleports. | |
Static Public Attributes | |
| const int | POSITION_OFFSET = 2 |
| Offset to point at the position values on the data buffer. | |
| const int | WORDS = 14 |
| Networked properties word count for the base NetworkTRSPData. | |
Properties | |
| static NetworkBehaviourId | NonNetworkedParent [get] |
| Special NetworkBehaviourId value, used as a flag to tell the parent is a non-networked object. | |
Data structure storing spatial (Position/Rotation/Scale/Parent) synchronization data for spatial synchronization components, NetworkTRSP and its subclass NetworkTransform.