Base class: Entity

Lua
C++
Edit

Brush

This class provides an interface for building level geometry with constructive solid geometry.

Property Type Description
faces table read-only array of faces
AddFace Method adds a new face to the brush
AddVertex Method add a new vertex to the brush
Build Method updates texture mapping, physics collider, and visible meshes
IntersectsBrush Method brush-brush intersection test
IntersectsPoint Method brush-point intersection test
SetVertexPosition Method moves a brush vertex
Slice Method slices the brush along a plane
CreateBoxBrush Function creates a new box brush
CreateBrush Function creates a new brush entity
Copyright © 2024 Ultra Software.
All rights reserved.