Nuclide
Software Development Kit for id Technology (BETA)
Loading...
Searching...
No Matches
NSXRSpace Class Reference

About this class

This class represents a local client space in the world.

Inheritance diagram for NSXRSpace:
ncEntity

Public Member Functions

void NSXRSpace (void)
 
virtual void SetOrigin (vector)
 Sets the placement of the space in the 3D world.
 
virtual void SetAngles (vector)
 Sets the direction offset of the space in the 3D world.
 
virtual vector GetForward (void)
 Get the forward facing direction in a normalized vector.
 
virtual vector GetRight (void)
 Get the right facing direction in a normalized vector.
 
virtual vector GetUp (void)
 Get the up facing direction in a normalized vector.
 
virtual vector RoomToWorldOrigin (vector)
 Takes a room-space position and translates it into world position.
 
virtual vector RoomToWorldAngles (vector)
 Takes a room-space angle and translates it into world angles.
 

Constructor & Destructor Documentation

◆ NSXRSpace()

void NSXRSpace::NSXRSpace ( void )

Member Function Documentation

◆ GetForward()

vector NSXRSpace::GetForward ( void )
virtual

Get the forward facing direction in a normalized vector.

Reimplemented from ncEntity.

◆ GetRight()

vector NSXRSpace::GetRight ( void )
virtual

Get the right facing direction in a normalized vector.

Reimplemented from ncEntity.

◆ GetUp()

vector NSXRSpace::GetUp ( void )
virtual

Get the up facing direction in a normalized vector.

Reimplemented from ncEntity.

◆ RoomToWorldAngles()

vector NSXRSpace::RoomToWorldAngles ( vector vecRoomAng)
virtual

Takes a room-space angle and translates it into world angles.

◆ RoomToWorldOrigin()

vector NSXRSpace::RoomToWorldOrigin ( vector vecRoomOrg)
virtual

Takes a room-space position and translates it into world position.

◆ SetAngles()

void NSXRSpace::SetAngles ( vector vecAngles)
virtual

Sets the direction offset of the space in the 3D world.

Reimplemented from ncEntity.

◆ SetOrigin()

void NSXRSpace::SetOrigin ( vector vecOrigin)
virtual

Sets the placement of the space in the 3D world.

Reimplemented from ncEntity.


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