SurfaceOrientation

actual class SurfaceOrientation

The surface orientation helper can be used to populate Filament-style TANGENTS buffers.

expect class SurfaceOrientation

The surface orientation helper can be used to populate Filament-style TANGENTS buffers.

actual class SurfaceOrientation(jsSurfaceOrientation: SurfaceOrientation, val vertexCount: Int = 0)

The surface orientation helper can be used to populate Filament-style TANGENTS buffers.

actual class SurfaceOrientation

The surface orientation helper can be used to populate Filament-style TANGENTS buffers.

actual class SurfaceOrientation

The surface orientation helper can be used to populate Filament-style TANGENTS buffers.

Constructors

Link copied to clipboard
constructor(jsSurfaceOrientation: SurfaceOrientation, vertexCount: Int = 0)

Types

Link copied to clipboard
actual class Builder

The Builder is used to construct an immutable surface orientation helper.

expect class Builder

The Builder is used to construct an immutable surface orientation helper.

actual class Builder

The Builder is used to construct an immutable surface orientation helper.

actual class Builder

The Builder is used to construct an immutable surface orientation helper.

actual class Builder

The Builder is used to construct an immutable surface orientation helper.

Properties

Link copied to clipboard
val nativeSurfaceOrientation: SurfaceOrientation
Link copied to clipboard
actual val vertexCount: Int

Returns the vertex count.

expect val vertexCount: Int

Returns the vertex count.

actual val vertexCount: Int

Returns the vertex count.

actual val vertexCount: Int

Returns the vertex count.

actual val vertexCount: Int

Returns the vertex count.

Functions

Link copied to clipboard
actual fun destroy()

Destroys this SurfaceOrientation instance and releases associated resources.

expect fun destroy()

Destroys this SurfaceOrientation instance and releases associated resources.

actual fun destroy()

Destroys this SurfaceOrientation instance and releases associated resources.

actual fun destroy()

Destroys this SurfaceOrientation instance and releases associated resources.

actual fun destroy()

Destroys this SurfaceOrientation instance and releases associated resources.

Link copied to clipboard
actual fun getQuatsAsFloat(buffer: FloatArray, count: Int)

Converts quaternions into float format and writes up to the specified count to the given output buffer. Normally the count should be equal to the vertex count.

expect fun getQuatsAsFloat(buffer: FloatArray, count: Int)

Converts quaternions into float format and writes up to the specified count to the given output buffer. Normally the count should be equal to the vertex count.

actual fun getQuatsAsFloat(buffer: FloatArray, count: Int)

Converts quaternions into float format and writes up to the specified count to the given output buffer. Normally the count should be equal to the vertex count.

actual fun getQuatsAsFloat(buffer: FloatArray, count: Int)

Converts quaternions into float format and writes up to the specified count to the given output buffer. Normally the count should be equal to the vertex count.

actual fun getQuatsAsFloat(buffer: FloatArray, count: Int)

Converts quaternions into float format and writes up to the specified count to the given output buffer. Normally the count should be equal to the vertex count.

Link copied to clipboard
actual fun getQuatsAsHalf(buffer: ShortArray, count: Int)

Converts quaternions into half-precision format and writes up to the specified count to the given output buffer.

expect fun getQuatsAsHalf(buffer: ShortArray, count: Int)

Converts quaternions into half-precision format and writes up to the specified count to the given output buffer.

actual fun getQuatsAsHalf(buffer: ShortArray, count: Int)

Converts quaternions into half-precision format and writes up to the specified count to the given output buffer.

actual fun getQuatsAsHalf(buffer: ShortArray, count: Int)

Converts quaternions into half-precision format and writes up to the specified count to the given output buffer.

actual fun getQuatsAsHalf(buffer: ShortArray, count: Int)

Converts quaternions into half-precision format and writes up to the specified count to the given output buffer.

Link copied to clipboard
actual fun getQuatsAsShort(buffer: ShortArray, count: Int)

Converts quaternions into short format and writes up to the specified count to the given output buffer.

expect fun getQuatsAsShort(buffer: ShortArray, count: Int)

Converts quaternions into short format and writes up to the specified count to the given output buffer.

actual fun getQuatsAsShort(buffer: ShortArray, count: Int)

Converts quaternions into short format and writes up to the specified count to the given output buffer.

actual fun getQuatsAsShort(buffer: ShortArray, count: Int)

Converts quaternions into short format and writes up to the specified count to the given output buffer.

actual fun getQuatsAsShort(buffer: ShortArray, count: Int)

Converts quaternions into short format and writes up to the specified count to the given output buffer.