Reader3dsGetOptimizedMeshGeometry3D Method |
Returns OptimizedMeshGeometry3D struct for the specified model name.
OptimizedMeshGeometry3D contains Normals, Positions, TextureCoordinates and TriangleIndices lists that can be used to get quick access to mesh data (access to data is much faster than when using MeshGeometry3D).
Namespace: Ab3dAssembly: Ab3d.Reader3ds (in Ab3d.Reader3ds.dll) Version: 9.0.5590.1040
Syntax public OptimizedMeshGeometry3D GetOptimizedMeshGeometry3D(
string modelName
)
Parameters
- modelName
- Type: SystemString
name of the object (use DumpNamedObjects method to get names of all read models or use names from NamedObjects)
Return Value
Type:
OptimizedMeshGeometry3DOptimizedMeshGeometry3D contains Normals, Positions, TextureCoordinates and TriangleIndices lists that can be used to get quick access to mesh data
Exceptions Exception | Condition |
---|
Exception | when the model with the modelName is not found and exceptin is thrown. |
Remarks GetOptimizedMeshGeometry3D returns OptimizedMeshGeometry3D struct for the specified model name.
OptimizedMeshGeometry3D contains Normals, Positions, TextureCoordinates and TriangleIndices lists that can be used to get quick access to mesh data (access to data is much faster than when using MeshGeometry3D).
See Also