C# Class Leap.Unity.Splines.BSpline

Inheritance: MonoBehaviour
Mostrar archivo Open project: Helen1012/Capstone_Design

Public Properties

Property Type Description
_weightsBuffer List
isUniform bool
pointsParent Transform
reverseRenderOrder bool

Public Methods

Method Description
SetRenderFraction ( float t ) : void

Protected Methods

Method Description
OnDrawGizmos ( ) : void

Private Methods

Method Description
Update ( ) : void
calcKnotWeight ( int i, int polyDegree, List knotVector, float t ) : float
calculateKnotVector ( int polyDegree, int numControlPoints, bool isUniform, List fillKnotVector = null ) : void
interpolateBSpline ( List controlPoints, int polyDegree, List knotVector, float t ) : Vector3
interpolateRationalBSpline ( List controlPoints, List controlPointWeights, int polyDegree, List knotVector, float t ) : Vector3

Method Details

OnDrawGizmos() protected method

protected OnDrawGizmos ( ) : void
return void

SetRenderFraction() public method

public SetRenderFraction ( float t ) : void
t float
return void

Property Details

_weightsBuffer public_oe property

public List _weightsBuffer
return List

isUniform public_oe property

public bool isUniform
return bool

pointsParent public_oe property

public Transform pointsParent
return Transform

reverseRenderOrder public_oe property

public bool reverseRenderOrder
return bool