Skip to content
Select language:English

AuRea 1.0.2

class Outlined(outline: FloatArray, scale: Float) : AuMesh

Create a mesh from any outline

Parameters

outline
Flat Float Array of XZ coordinates delineating the outline of the mesh
scale
Uniform scale factor applied to all XZ coordinates when building world-
space vertices: vertex.x = outlineXZ[i].x * scale.
Does NOT affect the Y axis (thickness is expressed in world units directly).

Constructors

constructor(outline: FloatArray, scale: Float)

Inherited properties

The handle to the native resource.

Inherited functions

open override fun close()

Release the native resources.