Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
ppematclassparametercolor.c File Reference

Go to the source code of this file.

Data Structures

class  ColorValuesData
 
class  PPEMatClassParameterColor
 

Functions

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

Variables

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

Function Documentation

◆ GetParameterVarType()

override int GetParameterVarType ( )

Definition at line 64 of file ppematclassparametercolor.c.

◆ InitCuttent()

override void InitCuttent ( )

Definition at line 59 of file ppematclassparametercolor.c.

◆ InitDefaults()

override void InitDefaults ( )

Definition at line 53 of file ppematclassparametercolor.c.

◆ PPEMatClassParameterColor()

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

Definition at line 48 of file ppematclassparametercolor.c.

◆ PrepareLayerInfo()

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

Fills relative values into arrays/member variables.

Definition at line 282 of file ppematclassparametercolor.c.

◆ SetParameterValueDefault()

override void SetParameterValueDefault ( inout Param  p_total)

Definition at line 300 of file ppematclassparametercolor.c.

◆ Update()

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

Definition at line 69 of file ppematclassparametercolor.c.

Variable Documentation

◆ m_Color

protected PPETemplateDefColor m_Color

Definition at line 43 of file ppematclassparametercolor.c.

◆ m_ColorDefaults

float m_ColorDefaults[4]

Definition at line 46 of file ppematclassparametercolor.c.

◆ m_LayerInfo

protected ref map<int,ref ColorValuesData> m_LayerInfo

Definition at line 44 of file ppematclassparametercolor.c.

◆ VALUE_ALPHA

const int VALUE_ALPHA = 3

Definition at line 40 of file ppematclassparametercolor.c.

◆ VALUE_BLUE

const int VALUE_BLUE = 2

Definition at line 39 of file ppematclassparametercolor.c.

◆ VALUE_GREEN

const int VALUE_GREEN = 1

Definition at line 38 of file ppematclassparametercolor.c.

◆ VALUE_RED

ColorValuesData VALUE_RED = 0

◆ VALUES_COUNT

const int VALUES_COUNT = 4

Definition at line 41 of file ppematclassparametercolor.c.