C# Class SkillViewerCameraSetting, CSharpGameFramework

Inheritance: MonoBehaviour
Show file Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Properties

Property Type Description
cameraPath_ControlPoint Vector2
enableCameraShake bool
shakeDuration float
shakeMagnitude float
shakeSpeed float
up float
yaw float

Public Methods

Method Description
Bezier2 ( Vector3 s, Vector3 p, Vector3 e, float t ) : Vector3
DrawBezier2Line ( Vector3 s, Vector3 p, Vector3 e ) : void
GetCurrentBezierCameraOffset ( ) : Vector3
GetRotation ( ) : Quaternion
OnDrawGizmos ( ) : void

Method Details

Bezier2() public static method

public static Bezier2 ( Vector3 s, Vector3 p, Vector3 e, float t ) : Vector3
s Vector3
p Vector3
e Vector3
t float
return Vector3

DrawBezier2Line() public static method

public static DrawBezier2Line ( Vector3 s, Vector3 p, Vector3 e ) : void
s Vector3
p Vector3
e Vector3
return void

GetCurrentBezierCameraOffset() public method

public GetCurrentBezierCameraOffset ( ) : Vector3
return Vector3

GetRotation() public method

public GetRotation ( ) : Quaternion
return Quaternion

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

Property Details

cameraPath_ControlPoint public property

public Vector2 cameraPath_ControlPoint
return Vector2

enableCameraShake public property

public bool enableCameraShake
return bool

shakeDuration public property

public float shakeDuration
return float

shakeMagnitude public property

public float shakeMagnitude
return float

shakeSpeed public property

public float shakeSpeed
return float

up public property

public float up
return float

yaw public property

public float yaw
return float