Alignment Constructor
Alignment(HorizontalAlignment, VerticalAlignment, DepthAlignment)
Construct a new alignment
Declaration
public Alignment(HorizontalAlignment x, VerticalAlignment y, DepthAlignment z)
Parameters
Type | Name | Description |
---|---|---|
HorizontalAlignment | x | The alignment assigned to X |
VerticalAlignment | y | The alignment assigned to Y |
DepthAlignment | z | The alignment assigned to Z |
Alignment(int, int, int)
Construct a 3D alignment
Declaration
public Alignment(int x, int y, int z)
Parameters
Type | Name | Description |
---|---|---|
int | x | The alignment assigned to X, clamped between [-1, 1] |
int | y | The alignment assigned to Y, clamped between [-1, 1] |
int | z | The alignment assigned to Z, clamped between [-1, 1] |
Alignment(float, float, float)
Construct a 3D alignment.
Declaration
public Alignment(float x, float y, float z)
Parameters
Type | Name | Description |
---|---|---|
float | x | The alignment assigned to X, clamped between [-1, 1] |
float | y | The alignment assigned to Y, clamped between [-1, 1] |
float | z | The alignment assigned to Z, clamped between [-1, 1] |
Alignment(HorizontalAlignment, VerticalAlignment)
Construct a 2D alignment.
Remarks
Declaration
public Alignment(HorizontalAlignment x, VerticalAlignment y)
Parameters
Type | Name | Description |
---|---|---|
HorizontalAlignment | x | The alignment assigned to X |
VerticalAlignment | y | The alignment assigned to Y |
Alignment(int, int)
Construct a 2D alignment.
Remarks
Declaration
public Alignment(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
int | x | The alignment assigned to X, clamped between [-1, 1] |
int | y | The alignment assigned to Y, clamped between [-1, 1] |
Alignment(float, float)
Construct a 2D alignment.
Remarks
Declaration
public Alignment(float x, float y)
Parameters
Type | Name | Description |
---|---|---|
float | x | The alignment assigned to X, clamped between [-1, 1] |
float | y | The alignment assigned to Y, clamped between [-1, 1] |