CPointCamera: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created blank page)
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
A camera which outputs its view to the ''_rt_camera'' texture, which can be displayed using materials such as ''dev/dev_tvmonitor1a''.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/point_camera.h /game/server/point_camera.h]'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/point_camera point_camera]'''
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''CPointCamera'''
== SendProps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CPointCamera
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''m_FOV'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_Resolution'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bFogEnable'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_FogColor'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFogStart'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFogEnd'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFogMaxDensity'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bActive'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bUseScreenAspectRatio'''
| style="width: 15%;" |Boolean
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CPointCamera
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''CPointCameraChangeFOVThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputChangeFOV'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetOff'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''InputSetOnAndTurnOthersOff'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_DegreesPerSecond'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_FOV'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_FogColor'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_Resolution'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_TargetFOV'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bActive'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bFogEnable'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bIsOn'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bUseScreenAspectRatio'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFogEnd'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFogMaxDensity'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flFogStart'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 15:44, 9 March 2023

Overview[edit | edit source]

A camera which outputs its view to the _rt_camera texture, which can be displayed using materials such as dev/dev_tvmonitor1a.

Source location : /game/server/point_camera.h

Linked Entity : point_camera

Class Structure[edit | edit source]

SendProps[edit | edit source]

CPointCamera
Name Type Description
m_FOV Float
m_Resolution Float
m_bFogEnable Boolean
m_FogColor Integer
m_flFogStart Float
m_flFogEnd Float
m_flFogMaxDensity Float
m_bActive Boolean
m_bUseScreenAspectRatio Boolean

Entity DataMaps[edit | edit source]

CPointCamera
Name Type Description
CPointCameraChangeFOVThink
InputChangeFOV
InputSetOff
InputSetOn
InputSetOnAndTurnOthersOff
m_DegreesPerSecond
m_FOV
m_FogColor
m_Resolution
m_TargetFOV
m_bActive
m_bFogEnable
m_bIsOn
m_bUseScreenAspectRatio
m_flFogEnd
m_flFogMaxDensity
m_flFogStart