Nebula
Loading...
Searching...
No Matches
Nebula.Game.NebulaApiV1 Class Reference

Inherits Nebula.Game.INebulaApi.

Public Member Functions

static UInt64 CreateEntity (uint worldId, string template)
 
static bool IsValid (UInt64 entityId)
 
static void DeleteEntity (UInt64 entityId)
 
static Vector3 GetPosition (UInt64 entityId)
 
static void SetPosition (UInt64 entityId, Vector3 position)
 
static Quaternion GetOrientation (UInt64 entityId)
 
static void SetOrientation (UInt64 entityId, Quaternion orientation)
 
static Vector3 GetScale (UInt64 entityId)
 
static void SetScale (UInt64 entityId, Vector3 position)
 
static bool HasComponent (UInt64 entityId, uint componentId)
 
static uint GetComponentId (string name)
 
static void GetComponentData (UInt64 entityId, uint componentId, IntPtr data, int dataSize)
 
static void SetComponentData (UInt64 entityId, uint componentId, IntPtr data, int dataSize)
 
static uint GetDefaultWorldId ()
 

Member Function Documentation

◆ CreateEntity()

static UInt64 Nebula.Game.NebulaApiV1.CreateEntity ( uint worldId,
string template )

◆ DeleteEntity()

static void Nebula.Game.NebulaApiV1.DeleteEntity ( UInt64 entityId)

◆ GetComponentData()

static void Nebula.Game.NebulaApiV1.GetComponentData ( UInt64 entityId,
uint componentId,
IntPtr data,
int dataSize )

◆ GetComponentId()

static uint Nebula.Game.NebulaApiV1.GetComponentId ( string name)

◆ GetDefaultWorldId()

static uint Nebula.Game.NebulaApiV1.GetDefaultWorldId ( )

◆ GetOrientation()

static Quaternion Nebula.Game.NebulaApiV1.GetOrientation ( UInt64 entityId)

◆ GetPosition()

static Vector3 Nebula.Game.NebulaApiV1.GetPosition ( UInt64 entityId)

◆ GetScale()

static Vector3 Nebula.Game.NebulaApiV1.GetScale ( UInt64 entityId)

◆ HasComponent()

static bool Nebula.Game.NebulaApiV1.HasComponent ( UInt64 entityId,
uint componentId )

◆ IsValid()

static bool Nebula.Game.NebulaApiV1.IsValid ( UInt64 entityId)

◆ SetComponentData()

static void Nebula.Game.NebulaApiV1.SetComponentData ( UInt64 entityId,
uint componentId,
IntPtr data,
int dataSize )

◆ SetOrientation()

static void Nebula.Game.NebulaApiV1.SetOrientation ( UInt64 entityId,
Quaternion orientation )

◆ SetPosition()

static void Nebula.Game.NebulaApiV1.SetPosition ( UInt64 entityId,
Vector3 position )

◆ SetScale()

static void Nebula.Game.NebulaApiV1.SetScale ( UInt64 entityId,
Vector3 position )

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