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
Parameter | Type | Description |
---|---|---|
model | Model | the babylonjs viewer Model to get the world matrix from |
Returns
the world matrix or undefined if the model has no assetContainer
Last updated on