Class WieldableItemKinematics
Inheritance
WieldableItemKinematics
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: NeoFPS.dll
Syntax
public class WieldableItemKinematics : MonoBehaviour
Fields
editOffsets
Declaration
Field Value
| Type |
Description |
| System.Boolean |
|
expandLeftFingers
Declaration
public bool expandLeftFingers
Field Value
| Type |
Description |
| System.Boolean |
|
expandRightFingers
Declaration
public bool expandRightFingers
Field Value
| Type |
Description |
| System.Boolean |
|
Properties
leftHandRotationOffset
Declaration
public Quaternion leftHandRotationOffset { get; }
Property Value
| Type |
Description |
| Quaternion |
|
matchFingers
Declaration
public bool matchFingers { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
matchLeftHand
Declaration
public bool matchLeftHand { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
matchRightHand
Declaration
public bool matchRightHand { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
rightHandRotationOffset
Declaration
public Quaternion rightHandRotationOffset { get; }
Property Value
| Type |
Description |
| Quaternion |
|
Declaration
public Transform viewModelTransform { get; }
Property Value
| Type |
Description |
| Transform |
|
Methods
Awake()
Declaration
GetFingerRotationOffset(HumanBodyBones, out Quaternion)
Declaration
public bool GetFingerRotationOffset(HumanBodyBones bone, out Quaternion rotation)
Parameters
| Type |
Name |
Description |
| HumanBodyBones |
bone |
|
| Quaternion |
rotation |
|
Returns
| Type |
Description |
| System.Boolean |
|
GetFingerTransform(HumanBodyBones)
Declaration
public Transform GetFingerTransform(HumanBodyBones bone)
Parameters
| Type |
Name |
Description |
| HumanBodyBones |
bone |
|
Returns
| Type |
Description |
| Transform |
|
GetLeftHandGoals(out Vector3, out Quaternion)
Declaration
public virtual bool GetLeftHandGoals(out Vector3 position, out Quaternion rotation)
Parameters
| Type |
Name |
Description |
| Vector3 |
position |
|
| Quaternion |
rotation |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public Transform GetLeftHandTransform()
Returns
| Type |
Description |
| Transform |
|
GetRightHandGoals(out Vector3, out Quaternion)
Declaration
public virtual bool GetRightHandGoals(out Vector3 position, out Quaternion rotation)
Parameters
| Type |
Name |
Description |
| Vector3 |
position |
|
| Quaternion |
rotation |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public Transform GetRightHandTransform()
Returns
| Type |
Description |
| Transform |
|
OnDisable()
Declaration
protected void OnDisable()
OnEnable()
Declaration
protected void OnEnable()
OnValidate()
Declaration
protected void OnValidate()