Material
A named color that faces, edges and placements can use.
Extends
Section titled “Extends”Properties
Section titled “Properties”
readonlycolor:Color
Red, green, blue and alpha, each from 0 to 1.
entityId
Section titled “entityId”
readonlyentityId:number
Identifier that stays the same for the entity’s lifetime, including across undo and redo.
Inherited from
Section titled “Inherited from”isDeleted
Section titled “isDeleted”
readonlyisDeleted:boolean
Whether the entity was deleted, for example by an edit or by undo.
Inherited from
Section titled “Inherited from”isValid
Section titled “isValid”
readonlyisValid:boolean
Whether the entity still exists in the model.
Inherited from
Section titled “Inherited from”
readonlyname:string
Material name.
readonlytype:"Material"
The concrete class name, for narrowing unions such as AnyElement.