PrismMesh
Class representing a prism-shaped PrimitiveMesh.
Class representing a prism-shaped PrimitiveMesh.
Class representing a prism-shaped PrimitiveMesh.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
PrismMeshConstructor
public PrismMesh();Properties5
LeftToRightProperty
public float LeftToRight { get; set; }Displacement of the upper edge along the X axis. 0.0 positions edge straight above the bottom-left edge.
SizeProperty
public Vector3 Size { get; set; }Size of the prism.
SubdivideDepthProperty
public int SubdivideDepth { get; set; }Number of added edge loops along the Z axis.
SubdivideHeightProperty
public int SubdivideHeight { get; set; }Number of added edge loops along the Y axis.
SubdivideWidthProperty
public int SubdivideWidth { get; set; }Number of added edge loops along the X axis.
Methods10
GetLeftToRightfloat
public float GetLeftToRight();Returns
floatGetSizeVector3
public Vector3 GetSize();Returns
Vector3GetSubdivideDepthint
public int GetSubdivideDepth();Returns
intGetSubdivideHeightint
public int GetSubdivideHeight();Returns
intGetSubdivideWidthint
public int GetSubdivideWidth();Returns
intSetLeftToRightvoid
public void SetLeftToRight(float leftToRight);| Name | Type | Default |
|---|---|---|
leftToRight | float | — |
SetSizevoid
public void SetSize(Vector3 size);| Name | Type | Default |
|---|---|---|
size | Vector3 | — |
SetSubdivideDepthvoid
public void SetSubdivideDepth(int segments);| Name | Type | Default |
|---|---|---|
segments | int | — |
SetSubdivideHeightvoid
public void SetSubdivideHeight(int segments);| Name | Type | Default |
|---|---|---|
segments | int | — |
SetSubdivideWidthvoid
public void SetSubdivideWidth(int segments);| Name | Type | Default |
|---|---|---|
segments | int | — |
Reckfell Engine documentationBack to top ↑