Nuclide
Software Development Kit for id Tech
NSXRSpace Class Reference

This class represents a local client space in the world. More...

#include <NSXRSpace.h>

Public Member Functions

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

Detailed Description

This class represents a local client space in the world.

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.

◆ GetRight()

vector NSXRSpace::GetRight ( void  )
virtual

Get the right facing direction in a normalized vector.

◆ GetUp()

vector NSXRSpace::GetUp ( void  )
virtual

Get the up facing direction in a normalized vector.

◆ 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.

◆ SetOrigin()

void NSXRSpace::SetOrigin ( vector  vecOrigin)
virtual

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


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