C# Class PigeonCoopToolkit.Effects.Trails.SmoothTrail

Inheritance: PigeonCoopToolkit.Effects.Trails.TrailRenderer_Base
Exibir arquivo Open project: caffeinatedguy/Limbs Class Usage Examples

Public Properties

Property Type Description
MaxControlPoints int
MinControlPointDistance float
PointsBetweenControlPoints int

Public Methods

Method Description
GetPointAlongCurve ( Vector3 curveStart, Vector3 curveStartHandle, Vector3 curveEnd, Vector3 curveEndHandle, float t, float crease ) : Vector3

Protected Methods

Method Description
GetMaxNumberOfPoints ( ) : int
OnStartEmit ( ) : void
OnTranslate ( Vector3 t ) : void
Reset ( ) : void
Start ( ) : void
Update ( ) : void
UpdateTrail ( PigeonCoopToolkit.Effects.Trails.PCTrail trail, float deltaTime ) : void

Private Methods

Method Description
AddControlPoint ( Vector3 position ) : void

Method Details

GetMaxNumberOfPoints() protected method

protected GetMaxNumberOfPoints ( ) : int
return int

GetPointAlongCurve() public method

public GetPointAlongCurve ( Vector3 curveStart, Vector3 curveStartHandle, Vector3 curveEnd, Vector3 curveEndHandle, float t, float crease ) : Vector3
curveStart UnityEngine.Vector3
curveStartHandle UnityEngine.Vector3
curveEnd UnityEngine.Vector3
curveEndHandle UnityEngine.Vector3
t float
crease float
return UnityEngine.Vector3

OnStartEmit() protected method

protected OnStartEmit ( ) : void
return void

OnTranslate() protected method

protected OnTranslate ( Vector3 t ) : void
t UnityEngine.Vector3
return void

Reset() protected method

protected Reset ( ) : void
return void

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

UpdateTrail() protected method

protected UpdateTrail ( PigeonCoopToolkit.Effects.Trails.PCTrail trail, float deltaTime ) : void
trail PigeonCoopToolkit.Effects.Trails.PCTrail
deltaTime float
return void

Property Details

MaxControlPoints public_oe property

public int MaxControlPoints
return int

MinControlPointDistance public_oe property

public float MinControlPointDistance
return float

PointsBetweenControlPoints public_oe property

public int PointsBetweenControlPoints
return int