Class CameraConstraintsAimer
Inheritance
CameraConstraintsAimer
Implements
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()
Namespace: NeoFPS.ModularFirearms
Assembly: NeoFPS.dll
Syntax
public class CameraConstraintsAimer : OffsetBaseAimer, IFirearmModule, IAimer, IFirearmModuleValidity, INeoSerializableComponent, IFirstPersonCameraPositionConstraint
Properties
owner
Declaration
public Object owner { get; }
Property Value
| Type | Description |
|---|---|
| Object |
positionConstraintActive
Declaration
public bool positionConstraintActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
positionStrength
Declaration
public float positionStrength { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Methods
AimInternal()
Declaration
protected override void AimInternal()
Overrides
Awake()
Declaration
protected override void Awake()
Overrides
GetConstraintPosition(Transform)
Declaration
public Vector3 GetConstraintPosition(Transform relativeTo)
Parameters
| Type | Name | Description |
|---|---|---|
| Transform | relativeTo |
Returns
| Type | Description |
|---|---|
| Vector3 |
OnDisable()
Declaration
protected override void OnDisable()
Overrides
OnEnable()
Declaration
protected override void OnEnable()
Overrides
OnOffsetsCalculated()
Declaration
protected override void OnOffsetsCalculated()
Overrides
OnValidate()
Declaration
protected void OnValidate()
ReadProperties(INeoDeserializer, NeoSerializedGameObject)
Declaration
public override void ReadProperties(INeoDeserializer reader, NeoSerializedGameObject nsgo)
Parameters
| Type | Name | Description |
|---|---|---|
| INeoDeserializer | reader | |
| NeoSerializedGameObject | nsgo |
Overrides
StopAimInternal(Boolean)
Declaration
protected override void StopAimInternal(bool instant)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | instant |