Class FirstPersonCameraTransformConstraints
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
Assembly: NeoFPS.dll
Syntax
public class FirstPersonCameraTransformConstraints : MonoBehaviour
Methods
AddPositionConstraint(IFirstPersonCameraPositionConstraint, Int32, Single)
Declaration
public void AddPositionConstraint(IFirstPersonCameraPositionConstraint constraint, int priority, float blendDuration)
Parameters
| Type | Name | Description |
|---|---|---|
| IFirstPersonCameraPositionConstraint | constraint | |
| System.Int32 | priority | |
| System.Single | blendDuration |
AddRotationConstraint(IFirstPersonCameraRotationConstraint, Int32, Single)
Declaration
public void AddRotationConstraint(IFirstPersonCameraRotationConstraint constraint, int priority, float blendDuration)
Parameters
| Type | Name | Description |
|---|---|---|
| IFirstPersonCameraRotationConstraint | constraint | |
| System.Int32 | priority | |
| System.Single | blendDuration |
Awake()
Declaration
protected void Awake()
FixedUpdate()
Declaration
protected void FixedUpdate()
LateUpdate()
Declaration
protected void LateUpdate()
RemovePositionConstraint(IFirstPersonCameraPositionConstraint, Single)
Declaration
public void RemovePositionConstraint(IFirstPersonCameraPositionConstraint constraint, float blendDuration)
Parameters
| Type | Name | Description |
|---|---|---|
| IFirstPersonCameraPositionConstraint | constraint | |
| System.Single | blendDuration |
RemoveRotationConstraint(IFirstPersonCameraRotationConstraint, Single)
Declaration
public void RemoveRotationConstraint(IFirstPersonCameraRotationConstraint constraint, float blendDuration)
Parameters
| Type | Name | Description |
|---|---|---|
| IFirstPersonCameraRotationConstraint | constraint | |
| System.Single | blendDuration |
Start()
Declaration
protected void Start()
Update()
Declaration
protected void Update()