Thrive
Public Attributes | List of all members
thrive::OgreSceneNodeComponent::Transform Struct Reference

Properties. More...

#include <scene_node_system.h>

Inheritance diagram for thrive::OgreSceneNodeComponent::Transform:
thrive::Touchable

Public Attributes

Ogre::Quaternion orientation = Ogre::Quaternion::IDENTITY
 Rotation. More...
 
Ogre::Vector3 position = {0, 0, 0}
 Position. More...
 
Ogre::Vector3 scale = {1, 1, 1}
 Scale. More...
 

Additional Inherited Members

- Public Member Functions inherited from thrive::Touchable
bool hasChanges () const
 Whether this Touchable has unapplied changes.
 
void touch ()
 Marks the Touchable as changed.
 
void untouch ()
 Marks all changes as applied.
 
- Static Public Member Functions inherited from thrive::Touchable
static luabind::scope luaBindings ()
 Lua bindings. More...
 

Detailed Description

Properties.

Member Data Documentation

Ogre::Quaternion thrive::OgreSceneNodeComponent::Transform::orientation = Ogre::Quaternion::IDENTITY

Rotation.

Defaults to Ogre::Quaternion::IDENTITY.

Ogre::Vector3 thrive::OgreSceneNodeComponent::Transform::position = {0, 0, 0}

Position.

Defaults to origin (0,0,0).

Ogre::Vector3 thrive::OgreSceneNodeComponent::Transform::scale = {1, 1, 1}

Scale.

Defaults to (1, 1, 1).


The documentation for this struct was generated from the following file: