RigsofRods
Soft-body Physics Simulation
Public Member Functions | Static Public Attributes | Private Attributes
RoR::TerrainEditor Class Reference

Minimalist editor mode; orig. More...

#include <TerrainEditor.h>

+ Collaboration diagram for RoR::TerrainEditor:

Public Member Functions

void UpdateInputEvents (float dt)
 
void WriteOutputFile ()
 
void ClearSelectedObject ()
 
void SetSelectedObjectByID (TerrainEditorObjectID_t id)
 
TerrainEditorObjectID_t GetSelectedObjectID () const
 
const TerrainEditorObjectPtrFetchSelectedObject ()
 

Static Public Attributes

static const TerrainEditorObjectPtr TERRAINEDITOROBJECTPTR_NULL
 

Private Attributes

bool m_object_tracking = true
 
int m_rotation_axis = 1
 0=X, 1=Y, 2=Z More...
 
std::string m_last_object_name
 
TerrainEditorObjectID_t m_selected_object_id = TERRAINEDITOROBJECTID_INVALID
 

Detailed Description

Minimalist editor mode; orig.

code by Ulteq/2016

Definition at line 79 of file TerrainEditor.h.

Member Function Documentation

◆ ClearSelectedObject()

void TerrainEditor::ClearSelectedObject ( )

Definition at line 306 of file TerrainEditor.cpp.

+ Here is the caller graph for this function:

◆ FetchSelectedObject()

const TerrainEditorObjectPtr & TerrainEditor::FetchSelectedObject ( )

Definition at line 349 of file TerrainEditor.cpp.

+ Here is the call graph for this function:

◆ GetSelectedObjectID()

TerrainEditorObjectID_t TerrainEditor::GetSelectedObjectID ( ) const

Definition at line 344 of file TerrainEditor.cpp.

◆ SetSelectedObjectByID()

void TerrainEditor::SetSelectedObjectByID ( TerrainEditorObjectID_t  id)

Definition at line 311 of file TerrainEditor.cpp.

+ Here is the call graph for this function:

◆ UpdateInputEvents()

void TerrainEditor::UpdateInputEvents ( float  dt)

Definition at line 43 of file TerrainEditor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ WriteOutputFile()

void TerrainEditor::WriteOutputFile ( )

Definition at line 234 of file TerrainEditor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ m_last_object_name

std::string RoR::TerrainEditor::m_last_object_name
private

Definition at line 94 of file TerrainEditor.h.

◆ m_object_tracking

bool RoR::TerrainEditor::m_object_tracking = true
private

Definition at line 92 of file TerrainEditor.h.

◆ m_rotation_axis

int RoR::TerrainEditor::m_rotation_axis = 1
private

0=X, 1=Y, 2=Z

Definition at line 93 of file TerrainEditor.h.

◆ m_selected_object_id

TerrainEditorObjectID_t RoR::TerrainEditor::m_selected_object_id = TERRAINEDITOROBJECTID_INVALID
private

Definition at line 97 of file TerrainEditor.h.

◆ TERRAINEDITOROBJECTPTR_NULL

const TerrainEditorObjectPtr TerrainEditor::TERRAINEDITOROBJECTPTR_NULL
static

Definition at line 89 of file TerrainEditor.h.


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