IndirectAttributeVariable<System.Double> Class
Represents a value, of type System.Double, that is taken from the specified attribute in an AttributeSet.
NuGet/Assembly: Carmenta.Engine.5.16.2.nupkg (in the CECore assembly)
Syntax
public class IndirectAttributeVariable< System.Double > :
AttributeVariable< System.Double >
Remarks
This type is used to represent attribute controlled values in visualizers and operators that are taken from a specific attribute. I.e. the System.Double value that is generated is specified by the same attribute in all features (but can vary between different features since each feature has its own set of attributes).
System.Int64 attribute values are converted to double precision floating point numbers.
Please see Attribute Controlled Visualization for more information on how attribute variables are used to control visualization.
Inheritance Hierarchy
System.Object (not available in C#)
EngineObject
AttributeVariable<System.Double>
IndirectAttributeVariable<System.Double>
Platforms
Windows, Linux, Android
IndirectAttributeVariable<System.Double> Members
The IndirectAttributeVariable<System.Double> type has the following members.
Constructors
Name | Description |
---|---|
IndirectAttributeVariable<System::Double> | Initializes a new instance of the IndirectAttributeVariable<System.Double> class. |
Properties
Name | Description |
---|---|
DefaultValue | Gets or sets the default value that is returned if an AttributeSet does not contain the attribute specified by the Key property. |
HasDefaultValue | Gets a value that tells whether the IndirectAttributeVariable<System.Double> has a default value that is returned when an attribute is missing or cannot be converted to the correct return type. |
IsDisposed | Gets a value that tells whether the current IndirectAttributeVariable<System.Double> has been disposed. Inherited from EngineObject |
Key | Gets or sets the Atom that specifies which attribute value the IndirectAttributeVariable<System.Double> returns. |
NativeHandle | Gets the native Carmenta Engine kernel object the current IndirectAttributeVariable<System.Double> represents. Inherited from EngineObject |
Methods
Name | Description |
---|---|
ClearDefaultValue | Clears the default value. |
Clone | Creates a copy of an object. Inherited from EngineObject |
Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
Equals | Determines whether this instance is equal to another. Inherited from EngineObject |
TryGetValue | Tries to generate a value from the specified AttributeSet. Inherited from AttributeVariable<System.Double> |