C# Class CreateSplineCircle, wepwep

Creates a circle from the existing set of nodes on a spline interpolator, the nodes can be anywhere but the centroid of the circle is calculated based on the average distance from each node.
Inheritance: MonoBehaviour
Mostrar archivo Open project: encephalopathy/wepwep

Public Properties

Property Type Description
SplineRoot GameObject
xRadius float
yRadius float

Public Methods

Method Description
OnAwake ( ) : void
OnDrawGizmos ( ) : void
Start ( ) : void
Update ( ) : void

Protected Methods

Method Description
CreateCircle ( ) : void

Method Details

CreateCircle() protected method

protected CreateCircle ( ) : void
return void

OnAwake() public method

public OnAwake ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

SplineRoot public_oe property

public GameObject SplineRoot
return GameObject

xRadius public_oe property

public float xRadius
return float

yRadius public_oe property

public float yRadius
return float