Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ppematclassparametercolor.c File Reference

Go to the source code of this file.

Data Structures

class  ColorValuesData
class  PPEMatClassParameterColor

Functions

override int GetParameterVarType ()
override void InitCuttent ()
override void InitDefaults ()
void PPEMatClassParameterColor (int mat_idx, int parameter_idx, PPEClassBase parent)
void PrepareLayerInfo (int layer, array< float > values, int operator)
 Fills relative values into arrays/member variables.
override void SetParameterValueDefault (inout Param p_total)
override void Update (float timeslice, out Param p_total, out bool setting_defaults, int order)

Variables

PPETemplateDefColor m_Color
float m_ColorDefaults [4]
ref map< int, ref ColorValuesDatam_LayerInfo
const int VALUE_ALPHA = 3
const int VALUE_BLUE = 2
const int VALUE_GREEN = 1
ColorValuesData VALUE_RED = 0
const int VALUES_COUNT = 4

Function Documentation

◆ GetParameterVarType()

override int GetParameterVarType ( )
protected

Definition at line 64 of file ppematclassparametercolor.c.

◆ InitCuttent()

override void InitCuttent ( )
protected

Definition at line 59 of file ppematclassparametercolor.c.

References m_ColorDefaults.

◆ InitDefaults()

override void InitDefaults ( )
protected

Definition at line 53 of file ppematclassparametercolor.c.

References m_Color, and m_ColorDefaults.

◆ PPEMatClassParameterColor()

void PPEMatClassParameterColor ( int mat_idx,
int parameter_idx,
PPEClassBase parent )
protected

Definition at line 48 of file ppematclassparametercolor.c.

References m_LayerInfo.

Referenced by PPEClassBase::RegisterParameterColor().

◆ PrepareLayerInfo()

void PrepareLayerInfo ( int layer,
array< float > values,
int operator )
protected

Fills relative values into arrays/member variables.

Definition at line 282 of file ppematclassparametercolor.c.

References m_LayerInfo, ColorValuesData::SetOperator(), and ColorValuesData::SetValues().

Referenced by Update().

◆ SetParameterValueDefault()

override void SetParameterValueDefault ( inout Param p_total)
protected

Definition at line 300 of file ppematclassparametercolor.c.

References m_ColorDefaults.

Referenced by Update().

◆ Update()

override void Update ( float timeslice,
out Param p_total,
out bool setting_defaults,
int order )
protected

Variable Documentation

◆ m_Color

PPETemplateDefColor m_Color
protected

Definition at line 43 of file ppematclassparametercolor.c.

◆ m_ColorDefaults

◆ m_LayerInfo

ref map<int,ref ColorValuesData> m_LayerInfo
protected

Definition at line 44 of file ppematclassparametercolor.c.

Referenced by PPEMatClassParameterColor(), PrepareLayerInfo(), and Update().

◆ VALUE_ALPHA

const int VALUE_ALPHA = 3

Definition at line 40 of file ppematclassparametercolor.c.

Referenced by Update().

◆ VALUE_BLUE

const int VALUE_BLUE = 2

Definition at line 39 of file ppematclassparametercolor.c.

Referenced by Update().

◆ VALUE_GREEN

const int VALUE_GREEN = 1

Definition at line 38 of file ppematclassparametercolor.c.

Referenced by Update().

◆ VALUE_RED

ColorValuesData VALUE_RED = 0

Referenced by Update().

◆ VALUES_COUNT

const int VALUES_COUNT = 4

Definition at line 41 of file ppematclassparametercolor.c.