Class FirearmRecoilEffect
Inheritance
FirearmRecoilEffect
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 FirearmRecoilEffect : MonoBehaviour, IAdditiveTransform, IMonoBehaviour
Properties
bypassPositionMultiplier
Declaration
public bool bypassPositionMultiplier { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
bypassRotationMultiplier
Declaration
public bool bypassRotationMultiplier { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
currentJiggle
Declaration
public float currentJiggle { get; }
Property Value
| Type |
Description |
| System.Single |
|
currentPushBack
Declaration
public float currentPushBack { get; }
Property Value
| Type |
Description |
| System.Single |
|
currentRecoilAngle
Declaration
public Vector2 currentRecoilAngle { get; }
Property Value
position
Declaration
public Vector3 position { get; }
Property Value
rotation
Declaration
public Quaternion rotation { get; }
Property Value
| Type |
Description |
| Quaternion |
|
Declaration
public IAdditiveTransformHandler transformHandler { get; }
Property Value
Methods
AddRecoil(Vector2, AnimationCurve, Single, Single, AnimationCurve, Single, AnimationCurve, Single)
Declaration
public void AddRecoil(Vector2 recoil, AnimationCurve angleCurve, float pushBack, float maxPushDistance, AnimationCurve pushCurve, float jiggle, AnimationCurve jiggleCurve, float duration)
Parameters
| Type |
Name |
Description |
| Vector2 |
recoil |
|
| AnimationCurve |
angleCurve |
|
| System.Single |
pushBack |
|
| System.Single |
maxPushDistance |
|
| AnimationCurve |
pushCurve |
|
| System.Single |
jiggle |
|
| AnimationCurve |
jiggleCurve |
|
| System.Single |
duration |
|
Awake()
Declaration
OnDisable()
Declaration
protected void OnDisable()
OnEnable()
Declaration
protected void OnEnable()
Declaration
public void UpdateTransform()
Implements