C# Class PrettyPoly.PrettyPolyObjectLayer

Inheritance: PrettyPolyLayer
Datei anzeigen Open project: ShreveportArcade/PrettyPoly

Public Properties

Property Type Description
sortingOrder int
sortingOrderVariation int

Public Methods

Method Description
AddInnerFill ( Transform root, Vector3 points, float pathLength ) : void
AddObject ( Transform root, Vector3 position, Vector3 dir, int &index, float t ) : void
AddStroke ( Transform root, Vector3 points, float pathLength, bool closed ) : void
AddStrokeSegment ( Transform root, Vector3 a, Vector3 b, float pathLength, float &distTraveled, int &index ) : void
UpdateObjects ( Transform root, PrettyPoly.PrettyPolyPoint points, bool closed ) : void

Method Details

AddInnerFill() public method

public AddInnerFill ( Transform root, Vector3 points, float pathLength ) : void
root UnityEngine.Transform
points UnityEngine.Vector3
pathLength float
return void

AddObject() public method

public AddObject ( Transform root, Vector3 position, Vector3 dir, int &index, float t ) : void
root UnityEngine.Transform
position UnityEngine.Vector3
dir UnityEngine.Vector3
index int
t float
return void

AddStroke() public method

public AddStroke ( Transform root, Vector3 points, float pathLength, bool closed ) : void
root UnityEngine.Transform
points UnityEngine.Vector3
pathLength float
closed bool
return void

AddStrokeSegment() public method

public AddStrokeSegment ( Transform root, Vector3 a, Vector3 b, float pathLength, float &distTraveled, int &index ) : void
root UnityEngine.Transform
a UnityEngine.Vector3
b UnityEngine.Vector3
pathLength float
distTraveled float
index int
return void

UpdateObjects() public method

public UpdateObjects ( Transform root, PrettyPoly.PrettyPolyPoint points, bool closed ) : void
root UnityEngine.Transform
points PrettyPoly.PrettyPolyPoint
closed bool
return void

Property Details

sortingOrder public_oe property

public int sortingOrder
return int

sortingOrderVariation public_oe property

public int sortingOrderVariation
return int