reckfellENGINE

PrismMesh

Class representing a prism-shaped PrimitiveMesh.

On this page
class PrismMeshReckfellSharpInherits 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
# PrismMesh
C#
public PrismMesh();

Properties5

LeftToRightProperty
# LeftToRight
C#
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
# Size
C#
public Vector3 Size { get; set; }

Size of the prism.

SubdivideDepthProperty
# SubdivideDepth
C#
public int SubdivideDepth { get; set; }

Number of added edge loops along the Z axis.

SubdivideHeightProperty
# SubdivideHeight
C#
public int SubdivideHeight { get; set; }

Number of added edge loops along the Y axis.

SubdivideWidthProperty
# SubdivideWidth
C#
public int SubdivideWidth { get; set; }

Number of added edge loops along the X axis.

Methods10

GetLeftToRightfloat
# GetLeftToRight
C#
public float GetLeftToRight();
Returns float
GetSizeVector3
# GetSize
C#
public Vector3 GetSize();
Returns Vector3
GetSubdivideDepthint
# GetSubdivideDepth
C#
public int GetSubdivideDepth();
Returns int
GetSubdivideHeightint
# GetSubdivideHeight
C#
public int GetSubdivideHeight();
Returns int
GetSubdivideWidthint
# GetSubdivideWidth
C#
public int GetSubdivideWidth();
Returns int
SetLeftToRightvoid
# SetLeftToRight
C#
public void SetLeftToRight(float leftToRight);
Parameters
NameTypeDefault
leftToRightfloat—
SetSizevoid
# SetSize
C#
public void SetSize(Vector3 size);
Parameters
NameTypeDefault
sizeVector3—
SetSubdivideDepthvoid
# SetSubdivideDepth
C#
public void SetSubdivideDepth(int segments);
Parameters
NameTypeDefault
segmentsint—
SetSubdivideHeightvoid
# SetSubdivideHeight
C#
public void SetSubdivideHeight(int segments);
Parameters
NameTypeDefault
segmentsint—
SetSubdivideWidthvoid
# SetSubdivideWidth
C#
public void SetSubdivideWidth(int segments);
Parameters
NameTypeDefault
segmentsint—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.