Scene
R2026bDescription
Add-On Required: This feature requires the 3D Asset Processing Library for MATLAB add-on.
The asset3d.Scene object represents a collection of meshes
organized in a hierarchical transform graph.
Use this object to group multiple Mesh objects into a single scene with
parent-child relationships and per-node transformations. You can visualize the scene in an
interactive 3D viewer, inspect the hierarchy, extract sub-scenes, flatten the scene to
individual meshes, and apply spatial transformations that propagate through the graph.
Creation
Description
creates a scene object sceneObj = asset3d.Scene(geometries)sceneObj containing the specified meshes
geometries.
Input Arguments
Output Arguments
Properties
Object Functions
show | Display mesh or scene object in interactive 3D viewer |
dispGraph | Display scene hierarchy as text tree |
addMesh | Add mesh to scene |
removeMesh | Remove mesh from scene |
flatten | Flatten scene into meshes with transforms |
subscene | Extract sub-scene from specified node |
patch | Convert mesh or scene object to patch for visualization in axes |
snapshot | Capture snapshot of mesh or scene as image |
transform | Apply homogeneous transformation to mesh or scene object |
rotate | Rotate mesh or scene object |
translate | Translate mesh or scene object using translation vector |
scale | Scale mesh or scene object |
resize | Resize mesh or scene object to absolute dimensions in world units |
setUpAxis | Change up axis convention for mesh or scene object |
copy | Create copy of mesh or scene object |
Examples
Version History
Introduced in R2026b
See Also
Mesh | Material | trellis | Texture | asset3d.read | asset3d.write
