Méthode | Description | |
---|---|---|
CreatePrimitive ( int sides, [ scale, [ offset ) : void |
Creates as regular primitive polygon with the specified number of sides.
|
Méthode | Description | |
---|---|---|
CreatePrimitive ( int sides ) : void | ||
CreatePrimitive ( int sides, Vector2 scale ) : void | ||
GetPath ( int index ) : Vector2[] | ||
GetTotalPointCount ( ) : int | ||
INTERNAL_CALL_CreatePrimitive ( |
||
SetPath ( int index, Vector2 points ) : void |
public CreatePrimitive ( int sides, [ scale, [ offset ) : void | ||
sides | int | The number of sides in the polygon. This must be greater than two. |
scale | [ | The X/Y scale of the polygon. These must be greater than zero. |
offset | [ | The X/Y offset of the polygon. |
Résultat | void |