C# Class SplineSweepMesh, UnityGraphicsPrograming

Inheritance: MonoBehaviour
Mostrar archivo Open project: sugi-cho/UnityGraphicsPrograming Class Usage Examples

Public Properties

Property Type Description
closePath bool
drawPoint Vector3
path Vector3[]
scale float
sections int

Public Methods

Method Description
CalculatePoints ( ) : void
Draw ( Vector3 point, bool drawStart = false, bool drawEnd = false, bool draw = false ) : bool
OnDestroy ( ) : void
OnDrawGizmosSelected ( ) : void
ResetMesh ( ) : void
UpdateMesh ( ) : void

Private Methods

Method Description
GetNewPoints ( Vector3 point ) : Vector3[]

Method Details

CalculatePoints() public method

public CalculatePoints ( ) : void
return void

Draw() public method

public Draw ( Vector3 point, bool drawStart = false, bool drawEnd = false, bool draw = false ) : bool
point Vector3
drawStart bool
drawEnd bool
draw bool
return bool

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDrawGizmosSelected() public method

public OnDrawGizmosSelected ( ) : void
return void

ResetMesh() public method

public ResetMesh ( ) : void
return void

UpdateMesh() public method

public UpdateMesh ( ) : void
return void

Property Details

closePath public_oe property

public bool closePath
return bool

drawPoint public_oe property

public Vector3 drawPoint
return Vector3

path public_oe property

public Vector3[] path
return Vector3[]

scale public_oe property

public float scale
return float

sections public_oe property

public int sections
return int