mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-23 14:38:13 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
30 lines
691 B
Modula-2
30 lines
691 B
Modula-2
|
|
#include "scenesystem/iscenesystem.h"
|
|
|
|
[Handle:Sandbox.SceneWorld]
|
|
native class ISceneWorld as NativeEngine.ISceneWorld
|
|
{
|
|
void DeleteAllObjects();
|
|
void Release();
|
|
int GetSceneObjectCount();
|
|
bool IsEmpty();
|
|
string GetWorldDebugName();
|
|
|
|
void SetDeleteAtEndOfFrame( bool bDelete );
|
|
bool GetDeleteAtEndOfFrame();
|
|
|
|
void DeleteEndOfFrameObjects();
|
|
|
|
inline bool MeshTrace( MeshTraceInput input, ref MeshTraceOutput output )
|
|
{
|
|
return self->MeshTrace( input, *output );
|
|
}
|
|
|
|
IPVS GetPVS();
|
|
void SetPVS( IPVS pPVS );
|
|
|
|
void Add3DSkyboxWorld( ISceneWorld world );
|
|
void Remove3DSkyboxWorld( ISceneWorld world );
|
|
void Set3DSkyboxParameters( Vector3 origin, Angles angle, float scale );
|
|
}
|