DayZ 1.24
Loading...
Searching...
No Matches
SceneObject Class Reference
Collaboration diagram for SceneObject:
[legend]

Protected Member Functions

SceneObject Init (string obj_name, vector pos)
 
EntityAI GetObject ()
 
string GetName ()
 
bool IsPlayer ()
 
string GetInitScript ()
 
void SetInitScript (string init_script)
 
void EditorShapeUpdatePos ()
 
void EditorShapeSetColor (int color)
 
void EditorShapeSelect ()
 
void EditorShapeDeselect ()
 
vector GetSize ()
 
void EditorShapeAdd ()
 
void EditorShapeRemove ()
 
void EditorLineRemove (SceneObject obj)
 
void EditorLineAdd (SceneObject obj)
 
void LinkEntityAI (EntityAI e)
 
bool IsLinkedWithSceneObject (SceneObject scene_object)
 
void LinkSceneObject (SceneObject scene_object, bool draw_line=true)
 
void UnlinkSceneObject (SceneObject scene_object)
 
void UnlinkAll ()
 
array< SceneObjectGetLinkedSceneObjects ()
 
int GetLinkedSceneObjectsCount ()
 
SceneObject GetLinkedSceneObject (int i)
 
EntityAI GetLinkedObject (int i)
 
void ~SceneObject ()
 
string GetTypeName ()
 
void PlaceOnSurface ()
 
void SetPosition (vector pos)
 
vector GetPosition ()
 
float GetHealth ()
 
float GetMaxHealth ()
 
void SetHealth (float value)
 
string GetPositionAsString ()
 
void SetPositionAsString (string string_pos)
 
float GetRotation ()
 
void SetRotation (float rot)
 
void SceneObjectSynch (Param p)
 
void AddRotation (float add_rot)
 
void AddAttachment (string att_name)
 
bool CanAttachment (EntityAI e)
 
void RemoveAttachment (EntityAI e)
 
array< EntityAIGetAttachments ()
 
TStringArray GetConfigAttachments ()
 

Protected Attributes

EntityAI m_ObjectPtr
 
Shape m_DebugShapeBBox
 
string m_InitScript
 
string m_ObjectName
 
string m_ObjectNameOrigin
 
ref array< SceneObjectm_LinkedSceneObjects
 
ref map< SceneObject, Shapem_LinkedSceneObjectsShapes
 
ref array< intm_LinkedSceneObjectsIndices
 

Private Member Functions

override bool IsPlayer ()
 

Static Private Attributes

static const int COLOR_OBJ_BBOX_NORMAL = 0x00000000
 
static const int COLOR_OBJ_BBOX_SELECT = 0x1f007C00
 

Detailed Description

Definition at line 1 of file SceneObject.c.

Constructor & Destructor Documentation

◆ ~SceneObject()

void SceneObject::~SceneObject ( )
inlineprotected

Definition at line 338 of file SceneObject.c.

339 {
341 {
342 GetGame().ObjectDelete(m_ObjectPtr);
344 }
345
346 for (int i = 0; i < m_LinkedSceneObjects.Count(); i++)
348
350 }
PlayerBase GetPlayer()
EntityAI m_ObjectPtr
Definition SceneObject.c:6
ref array< SceneObject > m_LinkedSceneObjects
Definition SceneObject.c:12
void EditorShapeRemove()
void EditorLineRemove(SceneObject obj)
proto native CGame GetGame()

References EditorLineRemove(), EditorShapeRemove(), GetGame(), GetPlayer(), m_LinkedSceneObjects, and m_ObjectPtr.

Member Function Documentation

◆ AddAttachment()

void SceneObject::AddAttachment ( string att_name)
inlineprotected

Definition at line 520 of file SceneObject.c.

521 {
522 GetObject().GetInventory().CreateAttachment(att_name);
523 }
EntityAI GetObject()
Definition SceneObject.c:57

References GetObject().

Referenced by PluginBase::SelectedObjectDuplicate().

◆ AddRotation()

void SceneObject::AddRotation ( float add_rot)
inlineprotected

Definition at line 497 of file SceneObject.c.

498 {
499 if (m_ObjectPtr)
500 {
501 if (GetGame().IsClient() && GetGame().IsMultiplayer())
502 {
505 }
506 else
507 {
508 vector v = m_ObjectPtr.GetOrientation();
509 v[0] = v[0] + add_rot;
510 m_ObjectPtr.SetOrientation(v);
511
513 }
514 }
515 }
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Definition param.c:12
void EditorShapeUpdatePos()
Definition SceneObject.c:97
void SceneObjectSynch(Param p)

References EditorShapeUpdatePos(), GetGame(), m_ObjectPtr, and SceneObjectSynch().

◆ CanAttachment()

bool SceneObject::CanAttachment ( EntityAI e)
inlineprotected

Definition at line 528 of file SceneObject.c.

529 {
530 return GetObject().GetInventory().CanAddAttachment(e);
531 }

References GetObject().

◆ EditorLineAdd()

void SceneObject::EditorLineAdd ( SceneObject obj)
inlineprotected

Definition at line 224 of file SceneObject.c.

225 {
226 if (obj.GetObject() != NULL && GetObject() != NULL)
227 {
228 if (m_LinkedSceneObjectsShapes.Contains(obj))
229 EditorLineRemove(obj);
230
231 vector pos1 = obj.GetSize();
232 pos1[0] = 0; pos1[1] = pos1[1] / 2; pos1[2] = 0;
233 pos1 = pos1 + obj.GetObject().GetPosition();
234
235 vector pos2 = GetSize();
236 pos2[0] = 0; pos2[1] = pos2[1] / 2; pos2[2] = 0;
237 pos2 = pos2 + GetObject().GetPosition();
238
240 }
241 }
Definition Debug.c:14
static Shape DrawArrow(vector from, vector to, float size=0.5, int color=0xFFFFFFFF, int flags=0)
Definition Debug.c:511
ref map< SceneObject, Shape > m_LinkedSceneObjectsShapes
Definition SceneObject.c:13
vector GetSize()

References Debug::DrawArrow(), EditorLineRemove(), GetObject(), GetSize(), and m_LinkedSceneObjectsShapes.

Referenced by PluginBase::EditorUpdate(), and LinkSceneObject().

◆ EditorLineRemove()

void SceneObject::EditorLineRemove ( SceneObject obj)
inlineprotected

Definition at line 208 of file SceneObject.c.

209 {
210 for (int i = 0; i < m_LinkedSceneObjectsShapes.Count(); i++)
211 {
212 if (m_LinkedSceneObjectsShapes.GetKey(i) == obj)
213 {
214 m_LinkedSceneObjectsShapes.GetElement(i).Destroy();
215 m_LinkedSceneObjectsShapes.Remove(obj);
216 break;
217 }
218 }
219 }

References m_LinkedSceneObjectsShapes.

Referenced by EditorLineAdd(), PluginBase::EditorUpdate(), UnlinkSceneObject(), and ~SceneObject().

◆ EditorShapeAdd()

void SceneObject::EditorShapeAdd ( )
inlineprotected

Definition at line 161 of file SceneObject.c.

162 {
163 if (m_DebugShapeBBox != NULL)
164 return;
165
166 vector min = "0 0 0";
167 vector max = "0 0 0";
168
169 vector size = GetSize();
170
171 float width = size[0];
172 float height = size[1];
173 float length = size[2];
174
175 float width_h = width * 0.5;
176 float lenght_h = length * 0.5;
177
178 min[0] = -width_h;
179 min[1] = 0;
180 min[2] = -lenght_h;
181
182 max[0] = width_h;
183 max[1] = height;
184 max[2] = lenght_h;
185
186 //Log("EditorShapeAdd -> "+m_ObjectPtr.Ptr().GetType());
187
191 }
static Shape DrawBox(vector pos1, vector pos2, int color=0x1fff7f7f)
Definition Debug.c:401
void EditorShapeDeselect()
Shape m_DebugShapeBBox
Definition SceneObject.c:7

References Debug::DrawBox(), EditorShapeDeselect(), EditorShapeUpdatePos(), GetSize(), and m_DebugShapeBBox.

Referenced by PluginBase::EditorUpdate().

◆ EditorShapeDeselect()

void SceneObject::EditorShapeDeselect ( )
inlineprotected

Definition at line 129 of file SceneObject.c.

130 {
132 }
static const int COLOR_OBJ_BBOX_NORMAL
Definition SceneObject.c:3
void EditorShapeSetColor(int color)

References COLOR_OBJ_BBOX_NORMAL, and EditorShapeSetColor().

Referenced by EditorShapeAdd(), and PluginBase::EditorUpdate().

◆ EditorShapeRemove()

void SceneObject::EditorShapeRemove ( )
inlineprotected

Definition at line 196 of file SceneObject.c.

197 {
198 if (m_DebugShapeBBox != NULL)
199 {
200 m_DebugShapeBBox.Destroy();
202 }
203 }

References m_DebugShapeBBox.

Referenced by PluginBase::EditorUpdate(), and ~SceneObject().

◆ EditorShapeSelect()

void SceneObject::EditorShapeSelect ( )
inlineprotected

Definition at line 121 of file SceneObject.c.

122 {
124 }
static const int COLOR_OBJ_BBOX_SELECT
Definition SceneObject.c:4

References COLOR_OBJ_BBOX_SELECT, and EditorShapeSetColor().

Referenced by PluginBase::EditorUpdate().

◆ EditorShapeSetColor()

void SceneObject::EditorShapeSetColor ( int color)
inlineprotected

Definition at line 112 of file SceneObject.c.

113 {
115 m_DebugShapeBBox.SetColor(color);
116 }

References m_DebugShapeBBox.

Referenced by EditorShapeDeselect(), and EditorShapeSelect().

◆ EditorShapeUpdatePos()

void SceneObject::EditorShapeUpdatePos ( )
inlineprotected

Definition at line 97 of file SceneObject.c.

98 {
100 {
101 vector mat[4];
102 GetObject().GetTransform(mat);
103
104 if (m_DebugShapeBBox != NULL)
105 m_DebugShapeBBox.SetMatrix(mat);
106 }
107 }

References GetObject(), and m_DebugShapeBBox.

Referenced by AddRotation(), EditorShapeAdd(), SetPosition(), and SetRotation().

◆ GetAttachments()

array< EntityAI > SceneObject::GetAttachments ( )
inlineprotected

Definition at line 544 of file SceneObject.c.

545 {
547
548 for (int i = 0; i < GetObject().GetInventory().AttachmentCount(); ++i)
549 ret.Insert(GetObject().GetInventory().GetAttachmentFromIndex(i));
550
551 return ret;
552 }

References GetObject().

◆ GetConfigAttachments()

TStringArray SceneObject::GetConfigAttachments ( )
inlineprotected

Definition at line 557 of file SceneObject.c.

558 {
559 string type_name = GetTypeName();
561
562 string cfg_path;
563
564 if (GetGame().ConfigIsExisting(CFG_VEHICLESPATH + " " + type_name))
565 cfg_path = CFG_VEHICLESPATH + " " + type_name + " attachments";
566 else if (GetGame().ConfigIsExisting(CFG_WEAPONSPATH + " " + type_name))
567 cfg_path = CFG_WEAPONSPATH + " " + type_name + " attachments";
568 else if (GetGame().ConfigIsExisting(CFG_MAGAZINESPATH + " " + type_name))
569 cfg_path = CFG_MAGAZINESPATH + " " + type_name + " attachments";
570
571 GetGame().ConfigGetTextArray(cfg_path, cfg_attachments);
572
573 return cfg_attachments;
574 }
string GetTypeName()
array< string > TStringArray
Definition EnScript.c:666
const string CFG_VEHICLESPATH
Definition constants.c:209
const string CFG_WEAPONSPATH
Definition constants.c:210
const string CFG_MAGAZINESPATH
Definition constants.c:211

References CFG_MAGAZINESPATH, CFG_VEHICLESPATH, CFG_WEAPONSPATH, GetGame(), and GetTypeName().

Referenced by UIScriptedMenu::Refresh().

◆ GetHealth()

float SceneObject::GetHealth ( )
inlineprotected

Definition at line 409 of file SceneObject.c.

410 {
411 if (m_ObjectPtr)
412 return m_ObjectPtr.GetHealth("", "");
413 return 0;
414 }

References m_ObjectPtr.

Referenced by UIScriptedMenu::Refresh(), and PluginConfigHandler::SaveSceneObjects().

◆ GetInitScript()

string SceneObject::GetInitScript ( )
inlineprotected

Definition at line 81 of file SceneObject.c.

82 {
83 return m_InitScript;
84 }
string m_InitScript
Definition SceneObject.c:8

References m_InitScript.

Referenced by UIPopupScript::OnOpen(), and PluginConfigHandler::SaveSceneObjects().

◆ GetLinkedObject()

EntityAI SceneObject::GetLinkedObject ( int i)
inlineprotected

Definition at line 330 of file SceneObject.c.

331 {
333 }
SceneObject GetLinkedSceneObject(int i)

References GetLinkedSceneObject(), and GetObject().

◆ GetLinkedSceneObject()

SceneObject SceneObject::GetLinkedSceneObject ( int i)
inlineprotected

Definition at line 322 of file SceneObject.c.

323 {
324 return m_LinkedSceneObjects.Get(i);
325 }

References m_LinkedSceneObjects.

Referenced by GetLinkedObject(), and UnlinkAll().

◆ GetLinkedSceneObjects()

array< SceneObject > SceneObject::GetLinkedSceneObjects ( )
inlineprotected

Definition at line 306 of file SceneObject.c.

307 {
309 }

References m_LinkedSceneObjects.

Referenced by PluginBase::EditorUpdate(), and PluginConfigHandler::SaveSceneObjects().

◆ GetLinkedSceneObjectsCount()

int SceneObject::GetLinkedSceneObjectsCount ( )
inlineprotected

Definition at line 314 of file SceneObject.c.

315 {
316 return m_LinkedSceneObjects.Count();
317 }

References m_LinkedSceneObjects.

Referenced by UnlinkAll().

◆ GetMaxHealth()

float SceneObject::GetMaxHealth ( )
inlineprotected

Definition at line 419 of file SceneObject.c.

420 {
421 if (m_ObjectPtr)
422 return m_ObjectPtr.GetMaxHealth("", "");
423 return 0;
424 }

References m_ObjectPtr.

◆ GetName()

string SceneObject::GetName ( )
inlineprotected

Definition at line 65 of file SceneObject.c.

66 {
67 return m_ObjectName;
68 }
string m_ObjectName
Definition SceneObject.c:9

References m_ObjectName.

◆ GetObject()

◆ GetPosition()

vector SceneObject::GetPosition ( )
inlineprotected

Definition at line 399 of file SceneObject.c.

400 {
401 if (m_ObjectPtr)
402 return m_ObjectPtr.GetPosition();
403 return Vector(0, 0, 0);
404 }
proto native vector Vector(float x, float y, float z)
Vector constructor from components.

References m_ObjectPtr, and Vector().

Referenced by UIScriptedMenu::Refresh().

◆ GetPositionAsString()

string SceneObject::GetPositionAsString ( )
inlineprotected

Definition at line 446 of file SceneObject.c.

447 {
448 if (m_ObjectPtr)
449 return m_ObjectPtr.GetPosition().ToString(false);
450 return Vector(0, 0, 0).ToString(false);
451 }

References m_ObjectPtr, and Vector().

Referenced by PluginConfigHandler::SaveSceneObjects().

◆ GetRotation()

float SceneObject::GetRotation ( )
inlineprotected

Definition at line 464 of file SceneObject.c.

465 {
466 if (m_ObjectPtr)
467 {
468 vector v = m_ObjectPtr.GetOrientation();
469 return v[0];
470 }
471
472 return 0;
473 }

References m_ObjectPtr.

Referenced by UIScriptedMenu::Refresh(), and PluginConfigHandler::SaveSceneObjects().

◆ GetSize()

vector SceneObject::GetSize ( )
inlineprotected

Definition at line 137 of file SceneObject.c.

138 {
139 vector size = Vector(1, 1, 1);
140 vector min_max[2];
141
142 if (GetObject())
143 {
144 GetObject().GetCollisionBox(min_max);
145
146 size[0] = min_max[1][0] - min_max[0][0];
147 size[2] = min_max[1][2] - min_max[0][2];
148 size[1] = min_max[1][1] - min_max[0][1];
149
150 return size;
151 }
152 else
153 Print("Error: SceneObject " + m_ObjectNameOrigin + " dont has game object.");
154
155 return size;
156 }
string m_ObjectNameOrigin
Definition SceneObject.c:10
proto void Print(void var)
Prints content of variable to console/log.

References GetObject(), m_ObjectNameOrigin, Print(), and Vector().

Referenced by EditorLineAdd(), and EditorShapeAdd().

◆ GetTypeName()

string SceneObject::GetTypeName ( )
inlineprotected

Definition at line 355 of file SceneObject.c.

356 {
357 return m_ObjectPtr.GetType();
358 }

References m_ObjectPtr.

Referenced by GetConfigAttachments(), UIScriptedMenu::Refresh(), PluginConfigHandler::SaveSceneObjects(), and PluginLocalProfile::SceneSave().

◆ Init()

SceneObject SceneObject::Init ( string obj_name,
vector pos )
inlineprotected

Definition at line 20 of file SceneObject.c.

21 {
23 {
25
26 bool is_ai = GetGame().IsKindOf(obj_name, "DZ_LightAI");
27
28 PluginDeveloper module_dev = PluginDeveloper.Cast(GetPlugin(PluginDeveloper));
29 EntityAI e = module_dev.SpawnEntityOnGroundPos(PluginSceneManager.PLAYER, obj_name, 100, 0.0, pos);
30
31 if (e != NULL)
32 {
33 if (e.IsInherited(ItemBase))
34 {
35 ItemBase item = ItemBase.Cast(e);
36 if (item.HasQuantity())
37 item.SetQuantity(item.GetQuantityMax());
38 }
39
40 m_ObjectName = e.GetType();
42 }
43 else if (obj_name != "player")
44 return NULL;
45 }
46
50
51 return this;
52 }
PluginBase GetPlugin(typename plugin_type)
void LinkEntityAI(EntityAI e)
ref array< int > m_LinkedSceneObjectsIndices
Definition SceneObject.c:15
const string STRING_EMPTY
Definition constants.c:54

References GetGame(), GetPlugin(), LinkEntityAI(), m_LinkedSceneObjects, m_LinkedSceneObjectsIndices, m_LinkedSceneObjectsShapes, m_ObjectName, m_ObjectNameOrigin, and STRING_EMPTY.

◆ IsLinkedWithSceneObject()

bool SceneObject::IsLinkedWithSceneObject ( SceneObject scene_object)
inlineprotected

Definition at line 254 of file SceneObject.c.

255 {
257 if (index >= 0)
258 return true;
259 else
260 return false;
261 }

References m_LinkedSceneObjects.

Referenced by LinkSceneObject().

◆ IsPlayer() [1/2]

bool SceneObject::IsPlayer ( )
inlineprotected

Definition at line 73 of file SceneObject.c.

74 {
75 return false;
76 }

◆ IsPlayer() [2/2]

override bool SceneObject::IsPlayer ( )
inlineprivate

Definition at line 6 of file ScenePlayer.c.

7 {
8 return true;
9 }

◆ LinkEntityAI()

void SceneObject::LinkEntityAI ( EntityAI e)
inlineprotected

Definition at line 246 of file SceneObject.c.

247 {
248 m_ObjectPtr = e;
249 }

References m_ObjectPtr.

Referenced by Init().

◆ LinkSceneObject()

void SceneObject::LinkSceneObject ( SceneObject scene_object,
bool draw_line = true )
inlineprotected

Definition at line 266 of file SceneObject.c.

267 {
269 {
270 if (draw_line)
273 }
274 }
bool IsLinkedWithSceneObject(SceneObject scene_object)
void EditorLineAdd(SceneObject obj)

References EditorLineAdd(), IsLinkedWithSceneObject(), and m_LinkedSceneObjects.

◆ PlaceOnSurface()

void SceneObject::PlaceOnSurface ( )
inlineprotected

Definition at line 363 of file SceneObject.c.

364 {
365 if (m_ObjectPtr)
366 {
367 if (GetGame().IsClient() && GetGame().IsMultiplayer())
368 {
369 Param par = new Param3<string, EntityAI, Param>("PlaceOnSurface", m_ObjectPtr, NULL);
371 }
372 else
373 m_ObjectPtr.PlaceOnSurface();
374 }
375 }

References GetGame(), m_ObjectPtr, and SceneObjectSynch().

Referenced by SetPosition().

◆ RemoveAttachment()

void SceneObject::RemoveAttachment ( EntityAI e)
inlineprotected

Definition at line 536 of file SceneObject.c.

537 {
538 GetGame().ObjectDelete(e);
539 }

References GetGame().

◆ SceneObjectSynch()

void SceneObject::SceneObjectSynch ( Param p)
inlineprotected

Definition at line 489 of file SceneObject.c.

490 {
491 GetGame().RPCSingleParam(GetGame().GetPlayer(), ERPCs.RPC_SYNC_SCENE_OBJECT, p, true, NULL);
492 }
ERPCs
Definition ERPCs.c:2

References GetGame(), and GetPlayer().

Referenced by AddRotation(), PlaceOnSurface(), SetHealth(), and SetPosition().

◆ SetHealth()

void SceneObject::SetHealth ( float value)
inlineprotected

Definition at line 429 of file SceneObject.c.

430 {
431 if (m_ObjectPtr)
432 {
433 if (GetGame().IsClient() && GetGame().IsMultiplayer())
434 {
437 }
438 else
439 m_ObjectPtr.SetHealth("", "", value);
440 }
441 }

References GetGame(), m_ObjectPtr, and SceneObjectSynch().

◆ SetInitScript()

void SceneObject::SetInitScript ( string init_script)
inlineprotected

Definition at line 89 of file SceneObject.c.

90 {
92 }

References m_InitScript.

Referenced by UIPopupScript::OnClick().

◆ SetPosition()

void SceneObject::SetPosition ( vector pos)
inlineprotected

Definition at line 380 of file SceneObject.c.

381 {
382 if (m_ObjectPtr)
383 {
384 if (GetGame().IsClient() && GetGame().IsMultiplayer())
385 {
388 }
389 else
390 m_ObjectPtr.SetPosition(pos);
391 }
394 }
void PlaceOnSurface()

References EditorShapeUpdatePos(), GetGame(), m_ObjectPtr, PlaceOnSurface(), and SceneObjectSynch().

Referenced by SetPositionAsString().

◆ SetPositionAsString()

void SceneObject::SetPositionAsString ( string string_pos)
inlineprotected

Definition at line 456 of file SceneObject.c.

457 {
458 SetPosition(string_pos.ToVector());
459 }
void SetPosition(vector pos)

References SetPosition().

◆ SetRotation()

void SceneObject::SetRotation ( float rot)
inlineprotected

Definition at line 478 of file SceneObject.c.

479 {
480 if (m_ObjectPtr)
481 {
482 vector v = m_ObjectPtr.GetOrientation();
483 v[0] = rot;
484 m_ObjectPtr.SetOrientation(v);
486 }
487 }

References EditorShapeUpdatePos(), and m_ObjectPtr.

Referenced by PluginBase::SelectedObjectDuplicate().

◆ UnlinkAll()

void SceneObject::UnlinkAll ( )
inlineprotected

Definition at line 292 of file SceneObject.c.

293 {
295
296 if (link_count > 0)
297 {
298 for (int i = 0; i < link_count; ++i)
299 PluginSceneManager.GetInstance().UnlinkSceneObjects(this, GetLinkedSceneObject(0));
300 }
301 }
int GetLinkedSceneObjectsCount()

References GetLinkedSceneObject(), and GetLinkedSceneObjectsCount().

Referenced by PluginBase::DeleteSceneObject().

◆ UnlinkSceneObject()

void SceneObject::UnlinkSceneObject ( SceneObject scene_object)
inlineprotected

Definition at line 279 of file SceneObject.c.

280 {
282 if (index >= 0 && index < m_LinkedSceneObjects.Count())
283 {
286 }
287 }

References EditorLineRemove(), and m_LinkedSceneObjects.

Member Data Documentation

◆ COLOR_OBJ_BBOX_NORMAL

const int SceneObject::COLOR_OBJ_BBOX_NORMAL = 0x00000000
staticprivate

Definition at line 3 of file SceneObject.c.

Referenced by EditorShapeDeselect().

◆ COLOR_OBJ_BBOX_SELECT

const int SceneObject::COLOR_OBJ_BBOX_SELECT = 0x1f007C00
staticprivate

Definition at line 4 of file SceneObject.c.

Referenced by EditorShapeSelect().

◆ m_DebugShapeBBox

Shape SceneObject::m_DebugShapeBBox
protected

◆ m_InitScript

string SceneObject::m_InitScript
protected

Definition at line 8 of file SceneObject.c.

Referenced by GetInitScript(), and SetInitScript().

◆ m_LinkedSceneObjects

◆ m_LinkedSceneObjectsIndices

ref array<int> SceneObject::m_LinkedSceneObjectsIndices
protected

Definition at line 15 of file SceneObject.c.

Referenced by Init().

◆ m_LinkedSceneObjectsShapes

ref map<SceneObject, Shape> SceneObject::m_LinkedSceneObjectsShapes
protected

Definition at line 13 of file SceneObject.c.

Referenced by EditorLineAdd(), EditorLineRemove(), and Init().

◆ m_ObjectName

string SceneObject::m_ObjectName
protected

Definition at line 9 of file SceneObject.c.

Referenced by GetName(), and Init().

◆ m_ObjectNameOrigin

string SceneObject::m_ObjectNameOrigin
protected

Definition at line 10 of file SceneObject.c.

Referenced by GetSize(), and Init().

◆ m_ObjectPtr


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