Constructor
Enable or disable option to ignore view clipping in this model
Name of the markup model.
The number of parts in the model.
Adds a part for drawing points. Use the returned PartPoints to add points to the new part.
Add a part with an image attached to a 3d coordinate
Adds a part containing indexed triangles to the markup model. Use the returned PartIndexedTriangles to set the mesh data and color of the new part.
Adds a part containing positioned text labels to the markup model. Use the returned PartLabels to add text labels to the new part.
Adds a part for drawing points. Use the returned PartPoints to add points to the new part.
Adds a part containing textured indexed triangles to the markup model. Use the returned PartTexturedIndexedTriangles to set the mesh data and texture of the new part.
Deletes all parts in model
Delete the given part if present.
Returns true if the part was found and deleted, false if not.
Deletes the part at the given (zero-based) index.
Returns the BoundingBox (in world coordinates) of the model.
Returns an active reference to the part at the given (zero-based) index.
Performs picking on the model.
If something was hit, returns a HitItem containing information about the part and primitive that was hit.
If nothing was hit, returns null.
Labels have a "special treatment" ray intersect where hitting the label will cause a hit on the label attachment point. This is not always what is intended, e.g. when doing zoom to cursor. Set ignoreLabels to true to skip labels when doing ray intersect.
Generated using TypeDoc
This class can be used to add markup items to a visualization.