#include <domImage.h>
Public Member Functions | |
virtual COLLADA_TYPE::TypeEnum | getElementType () const |
xsFloat | getHeight () const |
xsFloat | getWidth () const |
void | setHeight (xsFloat atHeight) |
void | setWidth (xsFloat atWidth) |
virtual daeInt | typeID () const |
Static Public Member Functions | |
static DLLSPEC daeElementRef | create (DAE &dae) |
static daeInt | ID () |
static DLLSPEC daeMetaElement * | registerElement (DAE &dae) |
Protected Member Functions | |
domSize_ratio (DAE &dae) | |
virtual domSize_ratio & | operator= (const domSize_ratio &cpy) |
virtual | ~domSize_ratio () |
Protected Attributes | |
xsFloat | attrHeight |
xsFloat | attrWidth |
Image size should be relative to the size of the viewport. Ex 1,1 is the same size as the viewport. 0.5,0.5 is 1/2 the size of the viewport
Definition at line 239 of file dom/domImage.h.
domImage::domCreate_2d::domSize_ratio::domSize_ratio | ( | DAE & | dae | ) | [inline, protected] |
Constructor
Definition at line 277 of file dom/domImage.h.
virtual domImage::domCreate_2d::domSize_ratio::~domSize_ratio | ( | ) | [inline, protected, virtual] |
Destructor
Definition at line 281 of file dom/domImage.h.
static DLLSPEC daeElementRef domImage::domCreate_2d::domSize_ratio::create | ( | DAE & | dae | ) | [static] |
Creates an instance of this class and returns a daeElementRef referencing it.
virtual COLLADA_TYPE::TypeEnum domImage::domCreate_2d::domSize_ratio::getElementType | ( | ) | const [inline, virtual] |
Reimplemented from daeElement.
Definition at line 242 of file dom/domImage.h.
xsFloat domImage::domCreate_2d::domSize_ratio::getHeight | ( | ) | const [inline] |
Gets the height attribute.
Definition at line 266 of file dom/domImage.h.
xsFloat domImage::domCreate_2d::domSize_ratio::getWidth | ( | ) | const [inline] |
Gets the width attribute.
Definition at line 255 of file dom/domImage.h.
static daeInt domImage::domCreate_2d::domSize_ratio::ID | ( | ) | [inline, static] |
Definition at line 243 of file dom/domImage.h.
virtual domSize_ratio& domImage::domCreate_2d::domSize_ratio::operator= | ( | const domSize_ratio & | cpy | ) | [inline, protected, virtual] |
Overloaded assignment operator
Definition at line 285 of file dom/domImage.h.
static DLLSPEC daeMetaElement* domImage::domCreate_2d::domSize_ratio::registerElement | ( | DAE & | dae | ) | [static] |
Creates a daeMetaElement object that describes this element in the meta object reflection framework. If a daeMetaElement already exists it will return that instead of creating a new one.
void domImage::domCreate_2d::domSize_ratio::setHeight | ( | xsFloat | atHeight | ) | [inline] |
Sets the height attribute.
atHeight | The new value for the height attribute. |
Definition at line 271 of file dom/domImage.h.
void domImage::domCreate_2d::domSize_ratio::setWidth | ( | xsFloat | atWidth | ) | [inline] |
Sets the width attribute.
atWidth | The new value for the width attribute. |
Definition at line 260 of file dom/domImage.h.
virtual daeInt domImage::domCreate_2d::domSize_ratio::typeID | ( | ) | const [inline, virtual] |
Returns this element's type ID. Every element is an instance of a type specified in the Collada schema, and every schema type has a unique ID.
Implements daeElement.
Definition at line 244 of file dom/domImage.h.
Definition at line 247 of file dom/domImage.h.
Definition at line 246 of file dom/domImage.h.