geometryType

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "throws an embind "unbound types" Error — filament.js does not register Builder.geometryType.")
actual fun geometryType(type: RenderableManager.GeometryType): RenderableManager.Builder

Specify the type of geometry for this renderable.

DYNAMIC geometry has no restriction, STATIC_BOUNDS geometry means that both the bounds and the world-space transform of the renderable are immutable. STATIC geometry has the same restrictions as STATIC_BOUNDS, but in addition disallows skinning, morphing and changing the VertexBuffer or IndexBuffer in any way.

Return

Builder reference for chaining calls.

Parameters

type

type of geometry.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "throws an embind "unbound types" Error — filament.js does not register Builder.geometryType.")
expect fun geometryType(type: RenderableManager.GeometryType): RenderableManager.Builder

Specify the type of geometry for this renderable.

DYNAMIC geometry has no restriction, STATIC_BOUNDS geometry means that both the bounds and the world-space transform of the renderable are immutable. STATIC geometry has the same restrictions as STATIC_BOUNDS, but in addition disallows skinning, morphing and changing the VertexBuffer or IndexBuffer in any way.

Return

Builder reference for chaining calls.

Parameters

type

type of geometry.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "throws an embind "unbound types" Error — filament.js does not register Builder.geometryType.")
actual fun geometryType(type: RenderableManager.GeometryType): RenderableManager.Builder

Specify the type of geometry for this renderable.

DYNAMIC geometry has no restriction, STATIC_BOUNDS geometry means that both the bounds and the world-space transform of the renderable are immutable. STATIC geometry has the same restrictions as STATIC_BOUNDS, but in addition disallows skinning, morphing and changing the VertexBuffer or IndexBuffer in any way.

Return

Builder reference for chaining calls.

Parameters

type

type of geometry.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "throws an embind "unbound types" Error — filament.js does not register Builder.geometryType.")
actual fun geometryType(type: RenderableManager.GeometryType): RenderableManager.Builder

Specify the type of geometry for this renderable.

DYNAMIC geometry has no restriction, STATIC_BOUNDS geometry means that both the bounds and the world-space transform of the renderable are immutable. STATIC geometry has the same restrictions as STATIC_BOUNDS, but in addition disallows skinning, morphing and changing the VertexBuffer or IndexBuffer in any way.

Return

Builder reference for chaining calls.

Parameters

type

type of geometry.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "throws an embind "unbound types" Error — filament.js does not register Builder.geometryType.")
actual fun geometryType(type: RenderableManager.GeometryType): RenderableManager.Builder

Specify the type of geometry for this renderable.

DYNAMIC geometry has no restriction, STATIC_BOUNDS geometry means that both the bounds and the world-space transform of the renderable are immutable. STATIC geometry has the same restrictions as STATIC_BOUNDS, but in addition disallows skinning, morphing and changing the VertexBuffer or IndexBuffer in any way.

Return

Builder reference for chaining calls.

Parameters

type

type of geometry.