Struct Rigidbody2DState
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
Syntax
[Preserve]
public struct Rigidbody2DState
Constructors
Rigidbody2DState(Rigidbody2D)
Declaration
public Rigidbody2DState(Rigidbody2D rb)
Parameters
Type |
Name |
Description |
UnityEngine.Rigidbody2D |
rb |
|
Rigidbody2DState(Rigidbody2D, Boolean)
Declaration
public Rigidbody2DState(Rigidbody2D rb, bool simulated)
Parameters
Type |
Name |
Description |
UnityEngine.Rigidbody2D |
rb |
|
System.Boolean |
simulated |
|
Fields
AngularVelocity
Declaration
public float AngularVelocity
Field Value
Type |
Description |
System.Single |
|
IsKinematic
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Position
Declaration
Field Value
Type |
Description |
UnityEngine.Vector3 |
|
Rotation
Declaration
public Quaternion Rotation
Field Value
Type |
Description |
UnityEngine.Quaternion |
|
Simulated
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Velocity
Declaration
Field Value
Type |
Description |
UnityEngine.Vector2 |
|