Nuclide
Software Development Kit for id Technology
env_cubemap Class Reference

About this class

Client-Entity: Cubemap Reflection Marker.

QUAKED env_cubemap (1 .5 0) (-8 -8 -8) (8 8 8)

OVERVIEW

Specifies a location for which a cubemap will be generated when the buildcubemaps console command is executed.

KEYS

  • "scale" : Texture dimension at which to render the cubemap. Default is "32".

TRIVIA

This entity was introduced in Half-Life 2 (2004).

Inheritance diagram for env_cubemap:
NSEntity

Public Member Functions

void env_cubemap (void)
 
virtual void SpawnKey (string, string)
 This method handles entity key/value pairs on map load. More...
 
virtual bool CanSpawn (bool)
 Returns if this entity can spawned from the map file. More...
 

Constructor & Destructor Documentation

◆ env_cubemap()

void env_cubemap::env_cubemap ( void  )

Member Function Documentation

◆ CanSpawn()

bool env_cubemap::CanSpawn ( bool  clientSide)
virtual

Returns if this entity can spawned from the map file.

Parameters
clientSideIf it's being spawned on the client-side.

Reimplemented from NSEntity.

◆ SpawnKey()

void env_cubemap::SpawnKey ( string  strKey,
string  strValue 
)
virtual

This method handles entity key/value pairs on map load.

You can easily convert the strValue parameter using the ReadFloat etc. methods that are part of NSIO.

Reimplemented from NSEntity.


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