SurfaceOrientation

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

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

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

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

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

Constructors

Link copied to clipboard
constructor(nativeSurfaceOrientation: SurfaceOrientation)
constructor(nativeHandle: MemorySegment)
constructor(nativeHandle: CPointer<FilaSurfaceOrientation>)
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 SurfaceOrientation.nativeObject: SurfaceOrientation
val SurfaceOrientation.nativeObject: MemorySegment
val SurfaceOrientation.nativeObject: CPointer<FilaSurfaceOrientation>
val SurfaceOrientation.nativeObject: 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 open override fun close()

Same as destroy; lets this be used with use { } and try-with-resources.

expect open override fun close()

Same as destroy; lets this be used with use { } and try-with-resources.

actual open override fun close()

Same as destroy; lets this be used with use { } and try-with-resources.

actual open override fun close()

Same as destroy; lets this be used with use { } and try-with-resources.

actual open override fun close()

Same as destroy; lets this be used with use { } and try-with-resources.

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.