reckfellENGINE

CsgPrimitive3D

Base class for CSG primitives.

On this page
class CsgPrimitive3DReckfellSharpInherits CsgShape3D

Base class for CSG primitives.

Parent class for various CSG primitives. It contains code and functionality that is common between them. It cannot be used directly. Instead use one of the various classes that inherit from it. Note: CSG nodes are intended to be used for level prototyping. Creating CSG nodes has a significant CPU cost compared to creating a MeshInstance3D with a PrimitiveMesh. Moving a CSG node within another CSG node also has a significant CPU cost, so it should be avoided during gameplay.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Properties1

FlipFacesProperty
# FlipFaces
C#
public bool FlipFaces { get; set; }

If set, the order of the vertices in each triangle are reversed resulting in the backside of the mesh being drawn.

Methods2

GetFlipFacesbool
# GetFlipFaces
C#
public bool GetFlipFaces();
Returns bool
SetFlipFacesvoid
# SetFlipFaces
C#
public void SetFlipFaces(bool flipFaces);
Parameters
NameTypeDefault
flipFacesbool—
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.