⚲
Lua
C++
Edit
CreateBoxBrush
This function creates a brush with a box shape.
Syntax
shared_ptr<
Brush
>
CreateBrush
(shared_ptr<
World
> world)
shared_ptr<
Brush
>
CreateBrush
(shared_ptr<
World
> world, float width, float height, float depth)
Parameter
Description
world
world to create the brush in
width, height, depth
dimensions of the box, in meters
Returns
Returns a new brush entity.
Copyright © 2024 Ultra Software.
All rights reserved.