+-----+-----------+-----+
/_____/___________/_____/|
/_____/___________/_____/||
/ / / /|||
+----+-----------+-----+ |||
| A | B | C |/|||
+----+-----------+-----+ |||
| | | | |||
| D | E | F | |||
| | | |/||/
+----+-----------+-----+ |/
| G | H | I | /
+----+-----------+-----+BorderXNegative
: float |
Signature
float BorderXNegative |
BorderXPositive
: float |
Signature
float BorderXPositive |
BorderYNegative
: float |
Signature
float BorderYNegative |
BorderYPositive
: float |
Signature
float BorderYPositive |
BorderZNegative
: float |
Signature
float BorderZNegative |
BorderZPositive
: float |
Signature
float BorderZPositive |
OriginalMesh
: Mesh |
Signature
Mesh OriginalMesh |
PivotOffset
: Vector3 |
Signature
Vector3 PivotOffset |
ScalingX
: Method |
Signature
Method ScalingX |
ScalingY
: Method |
Signature
Method ScalingY |
ScalingZ
: Method |
Signature
Method ScalingZ |
StretchCenter
: StretchCenterAxis |
Signature
StretchCenterAxis StretchCenter |
UpdateInPlayMode
: bool |
Signature
bool UpdateInPlayMode |
ProcessVertices
()
|
Processes the vertices of the given mesh, applying scaling and border adjustments.
This function is expensive, as it access and modifies each vertex of the mesh. Avoid calling it every frame.
Signature
Mesh ProcessVertices() Returns MeshÂ
A new Mesh with processed vertices.
|
| Member |
|---|
SLICE |
SLICE_WITH_ASYMMETRICAL_BORDER |
SCALE |
| Member | Value |
|---|---|
X | 1 << 0 |
Y | 1 << 1 |
Z | 1 << 2 |