mirror of
https://github.com/Relintai/godot-lportal.git
synced 2024-11-11 10:52:09 +01:00
21 lines
364 B
C++
21 lines
364 B
C++
#include "ldob.h"
|
|
#include "scene/3d/mesh_instance.h"
|
|
|
|
|
|
Spatial * LSob::GetSpatial() const
|
|
{
|
|
Object * pObj = ObjectDB::get_instance(m_ID);
|
|
Spatial * pSpat = Object::cast_to<Spatial>(pObj);
|
|
return pSpat;
|
|
}
|
|
|
|
|
|
|
|
Spatial * LDob::GetSpatial() const
|
|
{
|
|
Object * pObj = ObjectDB::get_instance(m_ID);
|
|
Spatial * pSpat = Object::cast_to<Spatial>(pObj);
|
|
return pSpat;
|
|
}
|
|
|