C# Class vp_FPSCamera, OZML

Inheritance: vp_Component
Mostrar archivo Open project: merveilles/OZML Class Usage Examples

Public Properties

Property Type Description
BobAmplitude Vector4
BobMaxInputVelocity float
BobRate Vector4
BobStepCallback BobStepDelegate
BobStepThreshold float
Controller CharacterController
MouseAcceleration bool
MouseAccelerationThreshold float
MouseSensitivity Vector2
MouseSmoothSteps int
MouseSmoothWeight float
Persist bool
PositionGroundLimit float
PositionKneeling float
PositionOffset Vector3
PositionSpring2Damping float
PositionSpring2Stiffness float
PositionSpringDamping float
PositionSpringStiffness float
RenderingFieldOfView float
RenderingZoomDamping float
RotationKneeling float
RotationPitchLimit Vector2
RotationSpringDamping float
RotationSpringStiffness float
RotationStrafeRoll float
RotationYawLimit Vector2
ShakeAmplitude Vector3
ShakeSpeed float

Public Methods

Method Description
AddForce ( Vector3 force ) : void
AddForce ( float x, float y, float z ) : void
AddForce2 ( Vector3 force ) : void
AddForce2 ( float x, float y, float z ) : void
AddRollForce ( float force ) : void
ApplyFallImpact ( float impact ) : void
Awake ( ) : void
DoBomb ( float force ) : void
DoEarthQuake ( float x, float y, float duration ) : void
DoStomp ( float force ) : void
FixedUpdate ( ) : void
LateUpdate ( ) : void
Load ( int weapon, string path ) : void
Load ( string path ) : void
RefreshSettings ( ) : void
SetAngle ( float yaw, float pitch ) : void
SetWeapon ( int i ) : void
SetWeaponLayer ( int layer ) : void
SnapSprings ( ) : void
SnapZoom ( ) : void
StopEarthQuake ( ) : void
StopSprings ( ) : void
Update ( ) : void
Zoom ( ) : void

Private Methods

Method Description
DetectBobStep ( float speed, float upBob ) : void
DetectFallingImpact ( ) : void
DoBob ( float speed ) : void
DoSwaying ( Vector3 velocity ) : void
UpdateEarthQuake ( ) : void
UpdateForces ( ) : void
UpdateMouseLook ( ) : void
UpdateShakes ( ) : void
UpdateZoom ( ) : void

Method Details

AddForce() public method

public AddForce ( Vector3 force ) : void
force Vector3
return void

AddForce() public method

public AddForce ( float x, float y, float z ) : void
x float
y float
z float
return void

AddForce2() public method

public AddForce2 ( Vector3 force ) : void
force Vector3
return void

AddForce2() public method

public AddForce2 ( float x, float y, float z ) : void
x float
y float
z float
return void

AddRollForce() public method

public AddRollForce ( float force ) : void
force float
return void

ApplyFallImpact() public method

public ApplyFallImpact ( float impact ) : void
impact float
return void

Awake() public method

public Awake ( ) : void
return void

DoBomb() public method

public DoBomb ( float force ) : void
force float
return void

DoEarthQuake() public method

public DoEarthQuake ( float x, float y, float duration ) : void
x float
y float
duration float
return void

DoStomp() public method

public DoStomp ( float force ) : void
force float
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

LateUpdate() public method

public LateUpdate ( ) : void
return void

Load() public method

public Load ( int weapon, string path ) : void
weapon int
path string
return void

Load() public method

public Load ( string path ) : void
path string
return void

RefreshSettings() public method

public RefreshSettings ( ) : void
return void

SetAngle() public method

public SetAngle ( float yaw, float pitch ) : void
yaw float
pitch float
return void

SetWeapon() public method

public SetWeapon ( int i ) : void
i int
return void

SetWeaponLayer() public method

public SetWeaponLayer ( int layer ) : void
layer int
return void

SnapSprings() public method

public SnapSprings ( ) : void
return void

SnapZoom() public method

public SnapZoom ( ) : void
return void

StopEarthQuake() public method

public StopEarthQuake ( ) : void
return void

StopSprings() public method

public StopSprings ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Zoom() public method

public Zoom ( ) : void
return void

Property Details

BobAmplitude public_oe property

public Vector4 BobAmplitude
return Vector4

BobMaxInputVelocity public_oe property

public float BobMaxInputVelocity
return float

BobRate public_oe property

public Vector4 BobRate
return Vector4

BobStepCallback public_oe property

public BobStepDelegate BobStepCallback
return BobStepDelegate

BobStepThreshold public_oe property

public float BobStepThreshold
return float

Controller public_oe property

public CharacterController Controller
return CharacterController

MouseAcceleration public_oe property

public bool MouseAcceleration
return bool

MouseAccelerationThreshold public_oe property

public float MouseAccelerationThreshold
return float

MouseSensitivity public_oe property

public Vector2 MouseSensitivity
return Vector2

MouseSmoothSteps public_oe property

public int MouseSmoothSteps
return int

MouseSmoothWeight public_oe property

public float MouseSmoothWeight
return float

Persist public_oe property

public bool Persist
return bool

PositionGroundLimit public_oe property

public float PositionGroundLimit
return float

PositionKneeling public_oe property

public float PositionKneeling
return float

PositionOffset public_oe property

public Vector3 PositionOffset
return Vector3

PositionSpring2Damping public_oe property

public float PositionSpring2Damping
return float

PositionSpring2Stiffness public_oe property

public float PositionSpring2Stiffness
return float

PositionSpringDamping public_oe property

public float PositionSpringDamping
return float

PositionSpringStiffness public_oe property

public float PositionSpringStiffness
return float

RenderingFieldOfView public_oe property

public float RenderingFieldOfView
return float

RenderingZoomDamping public_oe property

public float RenderingZoomDamping
return float

RotationKneeling public_oe property

public float RotationKneeling
return float

RotationPitchLimit public_oe property

public Vector2 RotationPitchLimit
return Vector2

RotationSpringDamping public_oe property

public float RotationSpringDamping
return float

RotationSpringStiffness public_oe property

public float RotationSpringStiffness
return float

RotationStrafeRoll public_oe property

public float RotationStrafeRoll
return float

RotationYawLimit public_oe property

public Vector2 RotationYawLimit
return Vector2

ShakeAmplitude public_oe property

public Vector3 ShakeAmplitude
return Vector3

ShakeSpeed public_oe property

public float ShakeSpeed
return float