Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_LightManualCameraComponent Class Reference

Create a light on camera position. More...

Inheritance diagram for SCR_LightManualCameraComponent:
SCR_BaseManualCameraComponent

Protected Member Functions

void OnInputDeviceIsGamepad (bool isGamepad)
bool IsLightOn ()
ScriptInvoker GetOnLightChanged ()
override void EOnCameraSave (SCR_ManualCameraComponentSave data)
override void EOnCameraLoad (SCR_ManualCameraComponentSave data)
override void EOnCameraFrame (SCR_ManualCameraParam param)
void CameraLightIntensityUpdate (vector cameraTransform[4])
void PointingLightTransformUpdateKeyboard (SCR_ManualCameraParam param)
void PointingLightTransformUpdateGamepad (SCR_ManualCameraParam param)
void PointingLightTransformUpdate (SCR_ManualCameraParam param, vector pointingPosition, float cameraHeightBeforeDeatach, float lightDetachDistanceSq)
vector GetCursorWorldPosition ()
vector GetCameraCenterRayCastPosition ()
override bool EOnCameraInit ()
override void EOnCameraExit ()

Protected Attributes

ResourceName m_LightPrefab
float m_fLongitudinalOffset
string m_sSoundEvent
ref Color m_cCameraLightColor
ref Color m_cPointingLightColor
ref Curve m_cCameraLightIntensityCurve
ref Curve m_cPointingLightIntensityCurve
float m_fPointingLightHeight
float m_fCameraHeightBeforeShowPointing_keyboard
float m_fCameraHeightBeforeShowPointing_gamepad
float m_fShowPointingLightDistance_keyboard
float m_fShowPointingLightDistance_gamepad
bool m_bPointingLightRotationOverride
float m_fPointingLightRotationOverrideY
float m_fCameraLightIntensityMaxHeight
float m_fPointingLightIntensityMaxDistance
float m_fCameraLightIntesityMin
float m_fCameraLightIntesityMax
float m_fPointingLightIntesityMin
float m_fPointingLightIntesityMax
bool m_bIsUsingKeyboardAndMouse = true
float m_fLightMaxLV = 21
float m_fLightMinLV = -8
LightEntity m_CameraLight
LightEntity m_PointingLight
BaseWorld m_World
WorkspaceWidget m_WorkSpace
bool m_bIsLightOn
ref ScriptInvoker Event_OnLightChanged = new ScriptInvoker()
bool m_bLightAtCameraPosition = true

Detailed Description

Create a light on camera position.

Definition at line 5 of file SCR_LightManualCameraComponent.c.

Member Function Documentation

◆ CameraLightIntensityUpdate()

void SCR_LightManualCameraComponent::CameraLightIntensityUpdate ( vector cameraTransform[4])
inlineprotected

Definition at line 192 of file SCR_LightManualCameraComponent.c.

◆ EOnCameraExit()

override void SCR_LightManualCameraComponent::EOnCameraExit ( )
inlineprotected

Definition at line 377 of file SCR_LightManualCameraComponent.c.

◆ EOnCameraFrame()

override void SCR_LightManualCameraComponent::EOnCameraFrame ( SCR_ManualCameraParam param)
inlineprotected

Definition at line 174 of file SCR_LightManualCameraComponent.c.

◆ EOnCameraInit()

override bool SCR_LightManualCameraComponent::EOnCameraInit ( )
inlineprotected

Definition at line 344 of file SCR_LightManualCameraComponent.c.

◆ EOnCameraLoad()

override void SCR_LightManualCameraComponent::EOnCameraLoad ( SCR_ManualCameraComponentSave data)
inlineprotected

Definition at line 167 of file SCR_LightManualCameraComponent.c.

◆ EOnCameraSave()

override void SCR_LightManualCameraComponent::EOnCameraSave ( SCR_ManualCameraComponentSave data)
inlineprotected

Definition at line 160 of file SCR_LightManualCameraComponent.c.

◆ GetCameraCenterRayCastPosition()

vector SCR_LightManualCameraComponent::GetCameraCenterRayCastPosition ( )
inlineprotected

Definition at line 309 of file SCR_LightManualCameraComponent.c.

◆ GetCursorWorldPosition()

vector SCR_LightManualCameraComponent::GetCursorWorldPosition ( )
inlineprotected

Definition at line 276 of file SCR_LightManualCameraComponent.c.

◆ GetOnLightChanged()

ScriptInvoker SCR_LightManualCameraComponent::GetOnLightChanged ( )
inlineprotected

Get current light change ScriptInvoker which is called if Light is turned on/off

Returns
Script invoker

Definition at line 154 of file SCR_LightManualCameraComponent.c.

◆ IsLightOn()

bool SCR_LightManualCameraComponent::IsLightOn ( )
inlineprotected
Returns
if light is on in editor or not

Definition at line 146 of file SCR_LightManualCameraComponent.c.

◆ OnInputDeviceIsGamepad()

void SCR_LightManualCameraComponent::OnInputDeviceIsGamepad ( bool isGamepad)
inlineprotected

Definition at line 139 of file SCR_LightManualCameraComponent.c.

◆ PointingLightTransformUpdate()

void SCR_LightManualCameraComponent::PointingLightTransformUpdate ( SCR_ManualCameraParam param,
vector pointingPosition,
float cameraHeightBeforeDeatach,
float lightDetachDistanceSq )
inlineprotected

Definition at line 215 of file SCR_LightManualCameraComponent.c.

◆ PointingLightTransformUpdateGamepad()

void SCR_LightManualCameraComponent::PointingLightTransformUpdateGamepad ( SCR_ManualCameraParam param)
inlineprotected

Definition at line 208 of file SCR_LightManualCameraComponent.c.

◆ PointingLightTransformUpdateKeyboard()

void SCR_LightManualCameraComponent::PointingLightTransformUpdateKeyboard ( SCR_ManualCameraParam param)
inlineprotected

Definition at line 201 of file SCR_LightManualCameraComponent.c.

Member Data Documentation

◆ Event_OnLightChanged

ref ScriptInvoker SCR_LightManualCameraComponent::Event_OnLightChanged = new ScriptInvoker()
protected

Definition at line 81 of file SCR_LightManualCameraComponent.c.

◆ m_bIsLightOn

bool SCR_LightManualCameraComponent::m_bIsLightOn
protected

Definition at line 80 of file SCR_LightManualCameraComponent.c.

◆ m_bIsUsingKeyboardAndMouse

bool SCR_LightManualCameraComponent::m_bIsUsingKeyboardAndMouse = true
protected

Definition at line 69 of file SCR_LightManualCameraComponent.c.

◆ m_bLightAtCameraPosition

bool SCR_LightManualCameraComponent::m_bLightAtCameraPosition = true
protected

Definition at line 83 of file SCR_LightManualCameraComponent.c.

◆ m_bPointingLightRotationOverride

bool SCR_LightManualCameraComponent::m_bPointingLightRotationOverride
protected

Definition at line 44 of file SCR_LightManualCameraComponent.c.

◆ m_CameraLight

LightEntity SCR_LightManualCameraComponent::m_CameraLight
protected

Definition at line 75 of file SCR_LightManualCameraComponent.c.

◆ m_cCameraLightColor

ref Color SCR_LightManualCameraComponent::m_cCameraLightColor
protected

Definition at line 17 of file SCR_LightManualCameraComponent.c.

◆ m_cCameraLightIntensityCurve

ref Curve SCR_LightManualCameraComponent::m_cCameraLightIntensityCurve
protected

Definition at line 23 of file SCR_LightManualCameraComponent.c.

◆ m_cPointingLightColor

ref Color SCR_LightManualCameraComponent::m_cPointingLightColor
protected

Definition at line 20 of file SCR_LightManualCameraComponent.c.

◆ m_cPointingLightIntensityCurve

ref Curve SCR_LightManualCameraComponent::m_cPointingLightIntensityCurve
protected

Definition at line 26 of file SCR_LightManualCameraComponent.c.

◆ m_fCameraHeightBeforeShowPointing_gamepad

float SCR_LightManualCameraComponent::m_fCameraHeightBeforeShowPointing_gamepad
protected

Definition at line 35 of file SCR_LightManualCameraComponent.c.

◆ m_fCameraHeightBeforeShowPointing_keyboard

float SCR_LightManualCameraComponent::m_fCameraHeightBeforeShowPointing_keyboard
protected

Definition at line 32 of file SCR_LightManualCameraComponent.c.

◆ m_fCameraLightIntensityMaxHeight

float SCR_LightManualCameraComponent::m_fCameraLightIntensityMaxHeight
protected

Definition at line 50 of file SCR_LightManualCameraComponent.c.

◆ m_fCameraLightIntesityMax

float SCR_LightManualCameraComponent::m_fCameraLightIntesityMax
protected

Definition at line 60 of file SCR_LightManualCameraComponent.c.

◆ m_fCameraLightIntesityMin

float SCR_LightManualCameraComponent::m_fCameraLightIntesityMin
protected

Definition at line 57 of file SCR_LightManualCameraComponent.c.

◆ m_fLightMaxLV

float SCR_LightManualCameraComponent::m_fLightMaxLV = 21
protected

Definition at line 72 of file SCR_LightManualCameraComponent.c.

◆ m_fLightMinLV

float SCR_LightManualCameraComponent::m_fLightMinLV = -8
protected

Definition at line 73 of file SCR_LightManualCameraComponent.c.

◆ m_fLongitudinalOffset

float SCR_LightManualCameraComponent::m_fLongitudinalOffset
protected

Definition at line 11 of file SCR_LightManualCameraComponent.c.

◆ m_fPointingLightHeight

float SCR_LightManualCameraComponent::m_fPointingLightHeight
protected

Definition at line 29 of file SCR_LightManualCameraComponent.c.

◆ m_fPointingLightIntensityMaxDistance

float SCR_LightManualCameraComponent::m_fPointingLightIntensityMaxDistance
protected

Definition at line 53 of file SCR_LightManualCameraComponent.c.

◆ m_fPointingLightIntesityMax

float SCR_LightManualCameraComponent::m_fPointingLightIntesityMax
protected

Definition at line 67 of file SCR_LightManualCameraComponent.c.

◆ m_fPointingLightIntesityMin

float SCR_LightManualCameraComponent::m_fPointingLightIntesityMin
protected

Definition at line 64 of file SCR_LightManualCameraComponent.c.

◆ m_fPointingLightRotationOverrideY

float SCR_LightManualCameraComponent::m_fPointingLightRotationOverrideY
protected

Definition at line 47 of file SCR_LightManualCameraComponent.c.

◆ m_fShowPointingLightDistance_gamepad

float SCR_LightManualCameraComponent::m_fShowPointingLightDistance_gamepad
protected

Definition at line 41 of file SCR_LightManualCameraComponent.c.

◆ m_fShowPointingLightDistance_keyboard

float SCR_LightManualCameraComponent::m_fShowPointingLightDistance_keyboard
protected

Definition at line 38 of file SCR_LightManualCameraComponent.c.

◆ m_LightPrefab

ResourceName SCR_LightManualCameraComponent::m_LightPrefab
protected

Definition at line 8 of file SCR_LightManualCameraComponent.c.

◆ m_PointingLight

LightEntity SCR_LightManualCameraComponent::m_PointingLight
protected

Definition at line 76 of file SCR_LightManualCameraComponent.c.

◆ m_sSoundEvent

string SCR_LightManualCameraComponent::m_sSoundEvent
protected

Definition at line 14 of file SCR_LightManualCameraComponent.c.

◆ m_WorkSpace

WorkspaceWidget SCR_LightManualCameraComponent::m_WorkSpace
protected

Definition at line 78 of file SCR_LightManualCameraComponent.c.

◆ m_World

BaseWorld SCR_LightManualCameraComponent::m_World
protected

Definition at line 77 of file SCR_LightManualCameraComponent.c.


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