Skip to content

Documentation / scene / SkinnedBoundingBox

Interface: SkinnedBoundingBox

Defined in: libs/scene/src/animation/skeleton.ts:79

Skinned bounding box information for a submesh.

Used to compute animated AABB for skinned meshes.

Properties

boundingVertices

boundingVertices: Vector3[]

Defined in: libs/scene/src/animation/skeleton.ts:83

Representative vertices used to bound a skinned mesh (extreme points along axes).


boundingVertexBlendIndices

boundingVertexBlendIndices: Float32Array

Defined in: libs/scene/src/animation/skeleton.ts:88

Joint indices (up to 4 per vertex) for each representative vertex, flattened. Layout: [i0_0, i0_1, i0_2, i0_3, i1_0, ...] for 6 vertices.


boundingVertexJointWeights

boundingVertexJointWeights: Float32Array

Defined in: libs/scene/src/animation/skeleton.ts:93

Corresponding joint weights (up to 4 per vertex) for each representative vertex, flattened. Layout matches boundingVertexBlendIndices.


boundingBox

boundingBox: BoundingBox

Defined in: libs/scene/src/animation/skeleton.ts:97

Computed axis-aligned bounding box in model space for the current pose.

Released under the MIT License.