Struct PredictionRigidbody.AllForceData
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)
Namespace: FishNet.Object.Prediction
Assembly: FishNet.Runtime.dll
Syntax
public struct AllForceData
Constructors
AllForceData(Single, Vector3, Single, Single, ForceMode)
Used for Explosive.
Declaration
public AllForceData(float force, Vector3 position, float radius, float upwardsModifier, ForceMode mode)
Parameters
Type | Name | Description |
---|---|---|
System.Single | force | |
UnityEngine.Vector3 | position | |
System.Single | radius | |
System.Single | upwardsModifier | |
UnityEngine.ForceMode | mode |
AllForceData(Vector3, ForceMode)
Used for Force and Torque.
Declaration
public AllForceData(Vector3 force, ForceMode mode)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3 | force | |
UnityEngine.ForceMode | mode |
AllForceData(Vector3, Vector3, ForceMode)
Used for Position.
Declaration
public AllForceData(Vector3 force, Vector3 position, ForceMode mode)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3 | force | |
UnityEngine.Vector3 | position | |
UnityEngine.ForceMode | mode |
Fields
FloatForce
Declaration
public float FloatForce
Field Value
Type | Description |
---|---|
System.Single |
Mode
Declaration
public ForceMode Mode
Field Value
Type | Description |
---|---|
UnityEngine.ForceMode |
Position
Declaration
public Vector3 Position
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Radius
Declaration
public float Radius
Field Value
Type | Description |
---|---|
System.Single |
UpwardsModifier
Declaration
public float UpwardsModifier
Field Value
Type | Description |
---|---|
System.Single |
Vector3Force
Declaration
public Vector3 Vector3Force
Field Value
Type | Description |
---|---|
UnityEngine.Vector3 |