|
void | SetHeight (float height) |
| Set the height of the polygon prism.
|
|
float | GetHeight () const |
| Return the height of the polygon prism.
|
|
void | SetNonUniformScale (const AZ::Vector3 &nonUniformScale) |
| Set the non-uniform scale applied to the polygon prism.
|
|
AZ::Vector3 | GetNonUniformScale () const |
| Return the non-uniform scale applied to the polygon prism.
|
|
void | SetCallbacks (const VoidFunction &onChangeElement, const VoidFunction &onChangeContainer, const VoidFunction &onChangeHeight, const VoidFunction &onChangeNonUniformScale) |
| Override callbacks to be used when polygon prism changes/is modified (general).
|
|
void | SetCallbacks (const IndexFunction &onAddVertex, const IndexFunction &onRemoveVertex, const IndexFunction &onUpdateVertex, const VoidFunction &onSetVertices, const VoidFunction &onClearVertices, const VoidFunction &onChangeHeight, const VoidFunction &onChangeNonUniformScale) |
|
Formal Definition: A (right) polygonal prism is a 3-dimensional prism made from two translated polygons connected by rectangles. Parallelogram sides are not allowed. Here the representation is defined by one polygon (internally represented as a vertex container - list of vertices) and a height (extrusion) property. All vertices lie on the local plane Z = 0.