C# Class SplineSweepMesh, UnityGraphicsPrograming

Inheritance: MonoBehaviour
Afficher le fichier Open project: sugi-cho/UnityGraphicsPrograming Class Usage Examples

Méthodes publiques

Свойство Type Description
closePath bool
drawPoint Vector3
path Vector3[]
scale float
sections int

Méthodes publiques

Méthode 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

Méthode Description
GetNewPoints ( Vector3 point ) : Vector3[]

Method Details

CalculatePoints() public méthode

public CalculatePoints ( ) : void
Résultat void

Draw() public méthode

public Draw ( Vector3 point, bool drawStart = false, bool drawEnd = false, bool draw = false ) : bool
point Vector3
drawStart bool
drawEnd bool
draw bool
Résultat bool

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnDrawGizmosSelected() public méthode

public OnDrawGizmosSelected ( ) : void
Résultat void

ResetMesh() public méthode

public ResetMesh ( ) : void
Résultat void

UpdateMesh() public méthode

public UpdateMesh ( ) : void
Résultat void

Property Details

closePath public_oe property

public bool closePath
Résultat bool

drawPoint public_oe property

public Vector3 drawPoint
Résultat Vector3

path public_oe property

public Vector3[] path
Résultat Vector3[]

scale public_oe property

public float scale
Résultat float

sections public_oe property

public int sections
Résultat int