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

Go to the source code of this file.

Data Structures

class  UnderObjectDecalSpawnSettings

Functions

string GetObjectNameFromSurfaceConfig (string surfaceParamName=SURFACE_PARAM_DECAL_NAME)
void RemoveDecal ()
void SpawnDecal ()
void UnderObjectDecalSpawnComponent (notnull UnderObjectDecalSpawnSettings pSettings, notnull Object pParent)
void UpdateSize (float pScaleValue)

Variables

Object m_Decal
float m_LastScaleValue
Object m_Parent
ref UnderObjectDecalSpawnSettings m_Settings
class UnderObjectDecalSpawnSettings SURFACE_PARAM_DECAL_NAME = "underObjectDecal"

Function Documentation

◆ GetObjectNameFromSurfaceConfig()

string GetObjectNameFromSurfaceConfig ( string surfaceParamName = SURFACE_PARAM_DECAL_NAME)
private

◆ RemoveDecal()

void RemoveDecal ( )
private

Definition at line 63 of file underobjectdecalspawncomponent.c.

References m_Decal.

◆ SpawnDecal()

◆ UnderObjectDecalSpawnComponent()

void UnderObjectDecalSpawnComponent ( notnull UnderObjectDecalSpawnSettings pSettings,
notnull Object pParent )
private

Definition at line 22 of file underobjectdecalspawncomponent.c.

References m_Parent, and m_Settings.

Referenced by EEInit(), and OnItemLocationChanged().

◆ UpdateSize()

void UpdateSize ( float pScaleValue)
private

Definition at line 71 of file underobjectdecalspawncomponent.c.

References Math::Clamp(), m_Decal, m_LastScaleValue, and m_Settings.

Variable Documentation

◆ m_Decal

Object m_Decal
protected

Definition at line 18 of file underobjectdecalspawncomponent.c.

Referenced by RemoveDecal(), SpawnDecal(), and UpdateSize().

◆ m_LastScaleValue

float m_LastScaleValue
private

Definition at line 20 of file underobjectdecalspawncomponent.c.

Referenced by UpdateSize().

◆ m_Parent

Object m_Parent
protected

Definition at line 17 of file underobjectdecalspawncomponent.c.

◆ m_Settings

ref UnderObjectDecalSpawnSettings m_Settings
protected

◆ SURFACE_PARAM_DECAL_NAME

class UnderObjectDecalSpawnSettings SURFACE_PARAM_DECAL_NAME = "underObjectDecal"