Skip to content

Class: FlexBatchedMesh

Defined in: packages/xr-input/src/visual/utils/flex-batched-mesh.ts:10

Extends

  • Group

Constructors

Constructor

new FlexBatchedMesh(refMesh): FlexBatchedMesh

Defined in: packages/xr-input/src/visual/utils/flex-batched-mesh.ts:14

Parameters

refMesh

Object3D

Returns

FlexBatchedMesh

Overrides

Group.constructor

Methods

updateMatrixWorld()

updateMatrixWorld(force): void

Defined in: packages/xr-input/src/visual/utils/flex-batched-mesh.ts:65

Updates the global transform of the object. And will update the object descendants if matrixWorldNeedsUpdate | .matrixWorldNeedsUpdate is set to true or if the force parameter is set to true.

Parameters

force

any

A boolean that can be used to bypass matrixWorldAutoUpdate | .matrixWorldAutoUpdate, to recalculate the world matrix of the object and descendants on the current frame. Useful if you cannot wait for the renderer to update it on the next frame, assuming matrixWorldAutoUpdate | .matrixWorldAutoUpdate set to true.

Returns

void

Overrides

Group.updateMatrixWorld