new MaterialProperty()
The interface for all Property objects that represent Material unified variables. This type defines an interface and cannot be directly instantiated.
Members
-
readonly definitionChangedEvent
-
Get the event thrown when the property definition changes. If calling getValue returns different results within the same time frame, it is considered that the definition has changed.
-
equals
-
Compare this attribute with the provided attribute, return true if they are equal, otherwise return false.
-
getType
-
Retrieve the Material type for the specified time.
-
getValue
-
Retrieve the attribute value of the attribute at the specified time.
-
readonly isConstantBoolean
-
Get a value indicating whether the attribute is a constant. If getValue always returns the same result in the current definition, then the property is considered a constant.