C# Class ShapePath, BezierPath

Exibir arquivo Open project: inoook/BezierPath Class Usage Examples

Public Properties

Property Type Description
__length float
__path_length ArrayList
b__path_length float[]

Public Methods

Method Description
ShapePath ( ) : System.Collections
begin ( ) : void
curveTo ( Vector3 cPosition, Vector3 position, Quaternion rot ) : void
curveTo ( float cx, float cy, float cz, float x, float y, float z, Quaternion rot ) : void
drawGizoms ( ) : void
end ( ) : void
getPathInfo ( float percent ) : PathVector,
getPointInfo ( float targetLength ) : PathVector,
getPointInfoPercent ( float percent ) : PathVector,
getPointInfoVec3 ( float targetLength ) : Vector3
getPointInfoVec3Percent ( float percent ) : Vector3
getPointInfoVec3__ ( float targetLength ) : Vector3
lineTo ( Vector3 position, Quaternion rot ) : void
lineTo ( float x, float y, float z, Quaternion rot ) : void
moveTo ( Vector3 position, Quaternion rot ) : void
moveTo ( float x, float y, float z, Quaternion rot ) : void

Method Details

ShapePath() public method

public ShapePath ( ) : System.Collections
return System.Collections

begin() public method

public begin ( ) : void
return void

curveTo() public method

public curveTo ( Vector3 cPosition, Vector3 position, Quaternion rot ) : void
cPosition Vector3
position Vector3
rot Quaternion
return void

curveTo() public method

public curveTo ( float cx, float cy, float cz, float x, float y, float z, Quaternion rot ) : void
cx float
cy float
cz float
x float
y float
z float
rot Quaternion
return void

drawGizoms() public method

public drawGizoms ( ) : void
return void

end() public method

public end ( ) : void
return void

getPathInfo() public method

public getPathInfo ( float percent ) : PathVector,
percent float
return PathVector,

getPointInfo() public method

public getPointInfo ( float targetLength ) : PathVector,
targetLength float
return PathVector,

getPointInfoPercent() public method

public getPointInfoPercent ( float percent ) : PathVector,
percent float
return PathVector,

getPointInfoVec3() public method

public getPointInfoVec3 ( float targetLength ) : Vector3
targetLength float
return Vector3

getPointInfoVec3Percent() public method

public getPointInfoVec3Percent ( float percent ) : Vector3
percent float
return Vector3

getPointInfoVec3__() public method

public getPointInfoVec3__ ( float targetLength ) : Vector3
targetLength float
return Vector3

lineTo() public method

public lineTo ( Vector3 position, Quaternion rot ) : void
position Vector3
rot Quaternion
return void

lineTo() public method

public lineTo ( float x, float y, float z, Quaternion rot ) : void
x float
y float
z float
rot Quaternion
return void

moveTo() public method

public moveTo ( Vector3 position, Quaternion rot ) : void
position Vector3
rot Quaternion
return void

moveTo() public method

public moveTo ( float x, float y, float z, Quaternion rot ) : void
x float
y float
z float
rot Quaternion
return void

Property Details

__length public_oe property

public float __length
return float

__path_length public_oe property

public ArrayList __path_length
return ArrayList

b__path_length public_oe property

public float[] b__path_length
return float[]