getGeometryInstanceAttributes
Returns the modifiable per-instance attributes for a GeometryInstance.
const attributes = primitive.getGeometryInstanceAttributes('an id');
attributes.color = ColorGeometryInstanceAttribute.toValue(Color.AQUA);
attributes.show = ShowGeometryInstanceAttribute.toValue(true);
Content copied to clipboard
Return
The typed array in the attribute's format or undefined if the is no instance with id.
Parameters
id
The id of the GeometryInstance.