ResourceProperty class Scene graph

A document resource reference property (geometry, material, texture, environment).

Inheritance

Constructors

ResourceProperty({required String resourceKind, String? group, List<String> formerNames = const [], bool transient = false, List<PropertyConstraint<Object>> extra = const []})
const

Properties

extra List<PropertyConstraint<Object>>
Additional declared constraints beyond the named arguments.
final
formerNames List<String>
Prior names of this property, accepted when loading older documents.
finalinherited
group String?
The collapsible inspector section this property belongs to.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
resourceKind String
The referenced resource kind, so an editor can filter the picker.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transient bool
Schema-visible but never persisted (runtime state, or code-provided).
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited