Interface IMeshDataOptions
interface IMeshDataOptions {
applyBakedVertexAnimation?: boolean;
applyMorph?: boolean;
applySkeleton?: boolean;
bakedVertexAnimationSettings?: DeepImmutableObject<Vector4>;
cache?: IMeshDataCache;
updatePositionsArray?: boolean;
}
applyBakedVertexAnimation?: boolean;
applyMorph?: boolean;
applySkeleton?: boolean;
bakedVertexAnimationSettings?: DeepImmutableObject<Vector4>;
cache?: IMeshDataCache;
updatePositionsArray?: boolean;
}
Properties
Optionalapply Baked Vertex Animation
applyBakedVertexAnimation?: boolean
Apply baked vertex animation when computing data. Defaults to false.
Optionalapply Morph
applyMorph?: boolean
Apply morph when computing the bounding info. Defaults to false.
Optionalapply Skeleton
applySkeleton?: boolean
Apply skeleton when computing the bounding info. Defaults to false.
Optionalbaked Vertex Animation Settings
Baked vertex animation settings to use instead of the manager's animationParameters.
Optionalcache
Cache to avoid redundant allocations and computations when computing the bounding info multiple times. Pass in an initial empty object and continue with subsequent calls using the same object. Caching is disabled by default.
Optionalupdate Positions Array
updatePositionsArray?: boolean
Update the cached positions stored as a Vector3 array. Defaults to true.
Options when computing data about a mesh