RigsofRods
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions
Script2Game::TerrainEditorObjectClass Class Reference

Binding of RoR::TerrainEditorObject; use game.getEditorObjects() to obtain live instances. More...

#include <TerrainEditorObjectClass.h>

Public Member Functions

const string & getName ()
 
const string & getInstanceName ()
 
const string & getType ()
 
const vector3 & getPosition ()
 
const vector3 & getRotation ()
 
void setPosition (const vector3 &in pos)
 
void setRotation (const vector3 &in rot)
 
only for preloaded actors:
const SpecialObjectType getSpecialObjectType ()
 
void setSpecialObjectType (SpecialObjectType)
 
const int getActorInstanceId ()
 
void setActorInstanceId (int)
 

Detailed Description

Binding of RoR::TerrainEditorObject; use game.getEditorObjects() to obtain live instances.

Definition at line 14 of file TerrainEditorObjectClass.h.

Member Function Documentation

◆ getActorInstanceId()

const int Script2Game::TerrainEditorObjectClass::getActorInstanceId ( )

◆ getInstanceName()

const string& Script2Game::TerrainEditorObjectClass::getInstanceName ( )

◆ getName()

const string& Script2Game::TerrainEditorObjectClass::getName ( )

◆ getPosition()

const vector3& Script2Game::TerrainEditorObjectClass::getPosition ( )

◆ getRotation()

const vector3& Script2Game::TerrainEditorObjectClass::getRotation ( )

◆ getSpecialObjectType()

const SpecialObjectType Script2Game::TerrainEditorObjectClass::getSpecialObjectType ( )

◆ getType()

const string& Script2Game::TerrainEditorObjectClass::getType ( )

◆ setActorInstanceId()

void Script2Game::TerrainEditorObjectClass::setActorInstanceId ( int  )

◆ setPosition()

void Script2Game::TerrainEditorObjectClass::setPosition ( const vector3 &in  pos)

◆ setRotation()

void Script2Game::TerrainEditorObjectClass::setRotation ( const vector3 &in  rot)

◆ setSpecialObjectType()

void Script2Game::TerrainEditorObjectClass::setSpecialObjectType ( SpecialObjectType  )

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