Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

AuRea 1.0.2

fun buildObject(trans: Mat4f, pixelsPerMeters: Float = 10000.0f): AuObject

Builds a textured 3D object from this widget.

The widget is rendered into an AuCanvas, converted into a texture, and applied to a rectangular AuMesh sized according to the widget dimensions and the specified pixel density.

Return

A 3D object containing the widget as a texture mapped onto a rectangle.

Parameters

trans

The transformation matrix applied to the generated object.

pixelsPerMeters

The pixel density used to convert widget dimensions from pixels to meters. Higher values produce smaller objects in world space.