tangents

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "silent no-op — filament.js's extension wrapper exposes no tangents(buffer, stride) entry point.")
actual fun tangents(buffer: FloatArray, stride: Int): SurfaceOrientation.Builder

Specifies the vertex tangents. Stride is the byte offset between consecutive tangents.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of tangent vectors, each with 4 floats (the 4th component is the sign of the bitangent).

stride

Byte offset between consecutive tangents. 0 means tightly packed.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "silent no-op — filament.js's extension wrapper exposes no tangents(buffer, stride) entry point.")
expect fun tangents(buffer: FloatArray, stride: Int = 0): SurfaceOrientation.Builder

Specifies the vertex tangents. Stride is the byte offset between consecutive tangents.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of tangent vectors, each with 4 floats (the 4th component is the sign of the bitangent).

stride

Byte offset between consecutive tangents. 0 means tightly packed.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "silent no-op — filament.js's extension wrapper exposes no tangents(buffer, stride) entry point.")
actual fun tangents(buffer: FloatArray, stride: Int): SurfaceOrientation.Builder

Specifies the vertex tangents. Stride is the byte offset between consecutive tangents.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of tangent vectors, each with 4 floats (the 4th component is the sign of the bitangent).

stride

Byte offset between consecutive tangents. 0 means tightly packed.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "silent no-op — filament.js's extension wrapper exposes no tangents(buffer, stride) entry point.")
actual fun tangents(buffer: FloatArray, stride: Int): SurfaceOrientation.Builder

Specifies the vertex tangents. Stride is the byte offset between consecutive tangents.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of tangent vectors, each with 4 floats (the 4th component is the sign of the bitangent).

stride

Byte offset between consecutive tangents. 0 means tightly packed.

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "silent no-op — filament.js's extension wrapper exposes no tangents(buffer, stride) entry point.")
actual fun tangents(buffer: FloatArray, stride: Int): SurfaceOrientation.Builder

Specifies the vertex tangents. Stride is the byte offset between consecutive tangents.

Return

This Builder instance for method chaining.

Parameters

buffer

An array of tangent vectors, each with 4 floats (the 4th component is the sign of the bitangent).

stride

Byte offset between consecutive tangents. 0 means tightly packed.