tangents

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.

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.

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.

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.

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.