Class NetworkTransform.TransformData
Inheritance
System.Object
NetworkTransform.TransformData
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FishNet.Component.Transforming
Assembly: FishNet.Runtime.dll
Syntax
public class TransformData : IResettable
Constructors
TransformData()
Declaration
[Preserve]
public TransformData()
Fields
ExtrapolatedPosition
Position to extrapolate towards.
Declaration
public Vector3 ExtrapolatedPosition
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |
ExtrapolationState
Current state of extrapolation.
Declaration
public NetworkTransform.TransformData.ExtrapolateState ExtrapolationState
Field Value
Type | Description |
---|---|
NetworkTransform.TransformData.ExtrapolateState |
ParentBehaviour
NetworkBehaviour which is the parent of this object for Tick.
Declaration
public NetworkBehaviour ParentBehaviour
Field Value
Type | Description |
---|---|
NetworkBehaviour |
Position
Local position in the data.
Declaration
public Vector3 Position
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Rotation
Local rotation in the data.
Declaration
public Quaternion Rotation
Field Value
Type | Description |
---|---|
UnityEngine.Quaternion |
Scale
Local scale in the data.
Declaration
public Vector3 Scale
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |
SnappingChecked
True if this data has already been checked for snapping. Snapping calls may occur multiple times when data is received, depending why or how it came in. This check prevents excessive work.
Declaration
public bool SnappingChecked
Field Value
Type | Description |
---|---|
System.Boolean |
Tick
Tick this data was received or created.
Declaration
public uint Tick
Field Value
Type | Description |
---|---|
System.UInt32 |
Properties
IsDefault
True if default state. This becomes false during an update and true when resetting state.
Declaration
public bool IsDefault { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
InitializeState()
Declaration
public void InitializeState()
ResetState()
Declaration
public void ResetState()