PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
UnderObjectDecalSpawnComponent.c File Reference

Data Structures

class  UnderObjectDecalSpawnSettings
 

Functions

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

Variables

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

Function Documentation

◆ GetObjectNameFromSurfaceConfig()

private string GetObjectNameFromSurfaceConfig ( string  surfaceParamName = SURFACE_PARAM_DECAL_NAME)

References g_Game, Surface::GetParamText(), and m_Parent.

Referenced by SpawnDecal().

◆ RemoveDecal()

void RemoveDecal ( )

References m_Decal.

◆ SpawnDecal()

◆ UnderObjectDecalSpawnComponent()

void UnderObjectDecalSpawnComponent ( notnull UnderObjectDecalSpawnSettings  pSettings,
notnull Object  pParent 
)

References m_Parent, and m_Settings.

Referenced by EEInit(), and OnItemLocationChanged().

◆ UpdateSize()

Variable Documentation

◆ m_Decal

protected Object m_Decal

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

◆ m_LastScaleValue

private float m_LastScaleValue

Referenced by UpdateSize().

◆ m_Parent

protected Object m_Parent

◆ m_Settings

◆ SURFACE_PARAM_DECAL_NAME

class UnderObjectDecalSpawnSettings SURFACE_PARAM_DECAL_NAME = "underObjectDecal"