Struct TransformProperties
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: FishNet.Runtime.dll
[Serializable]
public struct TransformProperties
Constructors
Declaration
public TransformProperties(Vector3 position, Quaternion rotation, Vector3 localScale)
Parameters
Type |
Name |
Description |
UnityEngine.Vector3 |
position |
|
UnityEngine.Quaternion |
rotation |
|
UnityEngine.Vector3 |
localScale |
|
Fields
Declaration
public Vector3 LocalScale
Field Value
Type |
Description |
UnityEngine.Vector3 |
|
Declaration
Field Value
Type |
Description |
UnityEngine.Vector3 |
|
Declaration
public Quaternion Rotation
Field Value
Type |
Description |
UnityEngine.Quaternion |
|
Methods
Adds another transformProperties onto this.
Declaration
public void Add(TransformProperties tp)
Parameters
Declaration
Subtracts another transformProperties from this.
Declaration
public void Subtract(TransformProperties tp)
Parameters
Declaration
public void Update(TransformProperties tp)
Parameters
Declaration
public void Update(Transform t)
Parameters
Type |
Name |
Description |
UnityEngine.Transform |
t |
|
Declaration
public void Update(Vector3 position, Quaternion rotation)
Parameters
Type |
Name |
Description |
UnityEngine.Vector3 |
position |
|
UnityEngine.Quaternion |
rotation |
|
Declaration
public void Update(Vector3 position, Quaternion rotation, Vector3 localScale)
Parameters
Type |
Name |
Description |
UnityEngine.Vector3 |
position |
|
UnityEngine.Quaternion |
rotation |
|
UnityEngine.Vector3 |
localScale |
|
Returns if this TransformProperties equals anothers values.
Declaration
public bool ValuesEquals(TransformProperties properties)
Parameters
Returns
Type |
Description |
System.Boolean |
|