Class: OpenUSD::Composition::VariantOpinion
- Inherits:
-
Data
- Object
- Data
- OpenUSD::Composition::VariantOpinion
- Defined in:
- lib/openusd/composition.rb
Overview
Internal prim-like opinion for a selected variant.
Instance Attribute Summary collapse
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
-
#properties ⇒ Object
readonly
Returns the value of attribute properties.
-
#type_name ⇒ Object
readonly
Returns the value of attribute type_name.
Instance Method Summary collapse
-
#property_named(name) ⇒ Object
private
Find a property in the selected variant.
Instance Attribute Details
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata
9 10 11 |
# File 'lib/openusd/composition.rb', line 9 def @metadata end |
#properties ⇒ Object (readonly)
Returns the value of attribute properties
9 10 11 |
# File 'lib/openusd/composition.rb', line 9 def properties @properties end |
#type_name ⇒ Object (readonly)
Returns the value of attribute type_name
9 10 11 |
# File 'lib/openusd/composition.rb', line 9 def type_name @type_name end |
Instance Method Details
#property_named(name) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Find a property in the selected variant.
12 13 14 |
# File 'lib/openusd/composition.rb', line 12 def property_named(name) properties.find { |property| property.name == name.to_s } end |