aux

fun aux(attribute: TangentSpaceMesh.AuxAttribute, data: FloatArray, components: Int, stride: Int = 0): TangentSpaceMesh.Builder

Auxiliary input, mapped along when the mesh is remeshed: float2, float3 or float4 per vertex (components 2–4). Read it back with TangentSpaceMesh.getAux and the same components.


fun aux(attribute: TangentSpaceMesh.AuxAttribute, data: ShortArray, components: Int, stride: Int = 0): TangentSpaceMesh.Builder

Auxiliary input as unsigned shorts (e.g. joint indices): ushort3 or ushort4 per vertex (components 3–4).