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()

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

◆ DeleteEntity()

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

◆ GetComponentData()

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

◆ GetComponentId()

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

◆ GetDefaultWorldId()

uint Nebula.Game.NebulaApiV1.GetDefaultWorldId ( )

◆ GetOrientation()

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

◆ GetPosition()

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

◆ GetScale()

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

◆ HasComponent()

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

◆ IsValid()

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

◆ SetComponentData()

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

◆ SetOrientation()

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

◆ SetPosition()

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

◆ SetScale()

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

The documentation for this class was generated from the following file:
  • /github/workspace/code/addons/nsharp/NebulaEngine/engine/Api.cs