draw Wall
fun drawWall(engine: Engine, position: Float3 = DEFAULT_NODE_POSITION, size: Float3 = DEFAULT_WALL_SIZE, rotation: Float3 = DEFAULT_WALL_ROTATION, materialLoader: MaterialLoader? = null, wallColor: Color = DEFAULT_WALL_COLOR_LIGHT): CubeNode
Draw a wall in the scene using the SceneView library and the Filament engine
Return
a CubeNode representing the wall
Parameters
engine
: the engine used to render the scene
position
: the position of the wall
size
: the size of the wall
rotation
: the rotation of the wall
material Loader
: the material loader used to load the material of the wall
Throws
if the size of the wall is not valid
if the material loader is null