The Attribute class represents user defined attributes in modules in the current rendering context. Attributes can be retrieved through the Context or Module objects.
More...
#include <ScriptInterface.h>
The Attribute class represents user defined attributes in modules in the current rendering context. Attributes can be retrieved through the Context or Module objects.
virtual bool Attribute::boolValue |
( |
| ) |
const |
|
virtualslot |
Fetch boolean value from Attribute at current frame.
- Returns
- bool value, or false if cannot cast to bool
virtual bool Attribute::boolValueAt |
( |
const double |
frame | ) |
const |
|
virtualslot |
Fetch boolean value from Attribute at specified frame.
- Parameters
-
- Returns
- bool value, or false if cannot cast to bool
virtual ColorRGBA Attribute::colorValue |
( |
| ) |
|
|
virtualslot |
Fetch ColorRGBA value from Attribute at current frame.
- Returns
- ColorRGBA value, or (255,255,255,255) if cannot cast to ColorRGBA
virtual ColorRGBA Attribute::colorValueAt |
( |
const double |
frame | ) |
|
|
virtualslot |
Fetch ColorRGBA value from Attribute at specified frame.
- Parameters
-
- Returns
- ColorRGBA value, or (255,255,255,255) if cannot cast to ColorRGBA
virtual double Attribute::doubleValue |
( |
| ) |
const |
|
virtualslot |
Fetch double value from Attribute at current frame.
- Returns
- double value, or 0.0 if cannot cast to double
virtual double Attribute::doubleValueAt |
( |
const double |
frame | ) |
const |
|
virtualslot |
Fetch double value from Attribute at specified frame.
- Parameters
-
- Returns
- double value, or 0.0 if cannot cast to double
virtual int Attribute::intValue |
( |
| ) |
const |
|
virtualslot |
Fetch integer value from Attribute at current frame.
- Returns
- int value, or 0 if cannot cast to int
virtual int Attribute::intValueAt |
( |
const double |
frame | ) |
const |
|
virtualslot |
Fetch integer value from Attribute at specified frame.
- Parameters
-
- Returns
- int value, or 0 if cannot cast to int
virtual Point2d Attribute::pos2dValue |
( |
| ) |
|
|
virtualslot |
virtual Point2d Attribute::pos2dValueAt |
( |
const double |
frame | ) |
|
|
virtualslot |
virtual Point3d Attribute::pos3dValue |
( |
| ) |
|
|
virtualslot |
virtual Point3d Attribute::pos3dValueAt |
( |
const double |
frame | ) |
|
|
virtualslot |
virtual String Attribute::stringValue |
( |
| ) |
const |
|
virtualslot |
Fetch String value from Attribute at current frame.
- Returns
- String value, or empty String if cannot cast to String
virtual String Attribute::stringValueAt |
( |
const double |
frame | ) |
const |
|
virtualslot |
Fetch String value from Attribute at specified frame.
- Parameters
-
- Returns
- String value, or empty String if cannot cast to String
The documentation for this class was generated from the following file: