Skip to Content
APIFunctionsgetTransformModelWorldMatrix

Function: getTransformModelWorldMatrix()

getTransformModelWorldMatrix(model): Transform

Get the world matrix for a model with all the transform of its parents. This object can be used in conjonction with the S3D API.

Parameters

ParameterTypeDescription
modelModelthe babylonjs viewer Model to get the world matrix from

Returns

Transform

the world matrix or undefined if the model has no assetContainer

Last updated on