C# Class SkillViewerCameraSetting, CSharpGameFramework

Inheritance: MonoBehaviour
显示文件 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_oe property

public Vector2 cameraPath_ControlPoint
return Vector2

enableCameraShake public_oe property

public bool enableCameraShake
return bool

shakeDuration public_oe property

public float shakeDuration
return float

shakeMagnitude public_oe property

public float shakeMagnitude
return float

shakeSpeed public_oe property

public float shakeSpeed
return float

up public_oe property

public float up
return float

yaw public_oe property

public float yaw
return float