Nebula
Loading...
Searching...
No Matches
game.h File Reference
#include "nsharp/nsconfig.h"

Go to the source code of this file.

Namespaces

namespace  Scripting
 Prototype for deargui scripting init.
 
namespace  Scripting::Api
 

Functions

bool Scripting::Api::EntityIsValid (uint64_t entity)
 
uint64_t Scripting::Api::EntityCreateFromTemplate (uint32_t worldId, const char *tmpl)
 
void Scripting::Api::EntityDelete (uint64_t entity)
 
bool Scripting::Api::EntityHasComponent (uint64_t entity, uint32_t componentId)
 
Math::float4 Scripting::Api::EntityGetPosition (uint64_t entity)
 
void Scripting::Api::EntitySetPosition (uint64_t entity, Math::vec3 pos)
 
Math::float4 Scripting::Api::EntityGetOrientation (uint64_t entity)
 
void Scripting::Api::EntitySetOrientation (uint64_t entity, Math::quat orientation)
 
Math::float4 Scripting::Api::EntityGetScale (uint64_t entity)
 
void Scripting::Api::EntitySetScale (uint64_t entity, Math::vec3 scale)
 
uint32_t Scripting::Api::ComponentGetId (const char *name)
 
void Scripting::Api::ComponentGetData (uint64_t entityId, uint32_t componentId, void *outData, int dataSize)
 
void Scripting::Api::ComponentSetData (uint64_t entityId, uint32_t componentId, void *data, int dataSize)
 
uint32_t Scripting::Api::WorldGetDefaultWorldId ()