|
Anark Core SDK
|
Public Member Functions | |||||
| Sdk2DTriangle (ISdkVertex2D v1, ISdkVertex2D v2, ISdkVertex2D v3) | |||||
| Initialize a new triangle. | |||||
| ISdk2DGeometryPrimitive | Transform (double translationX, double translationY) | ||||
Applies a 2D transformation.
| |||||
| ISdk2DGeometryPrimitive | Scale (double scaleX, double scaleY) | ||||
Applies a 2D scale.
| |||||
Properties | |
| IEnumerable< ISdkVertex2D > | Vertices [get] |
| The vertices that define the geometry. | |
|
inline |
Initialize a new triangle.
| v1 | Vertex 1 |
| v2 | Vertex 2 |
| v3 | Vertex 3 |
|
inline |
Applies a 2D scale.
| scaleX | X scale amount |
| scaleY | Y scale amount |
Implements Anark.CoreSdkApi.Entities.ISdk2DGeometryPrimitive.
|
inline |
Applies a 2D transformation.
| translationX | X translation amount |
| translationY | Y translation amount |
Implements Anark.CoreSdkApi.Entities.ISdk2DGeometryPrimitive.
|
get |
The vertices that define the geometry.
Implements Anark.CoreSdkApi.Entities.ISdkGeometryPrimitive< TVertex >.