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 |
private string GetObjectNameFromSurfaceConfig | ( | string | surfaceParamName = SURFACE_PARAM_DECAL_NAME | ) |
References g_Game, Surface::GetParamText(), and m_Parent.
Referenced by SpawnDecal().
void RemoveDecal | ( | ) |
References m_Decal.
void SpawnDecal | ( | ) |
References ECE_LOCAL, ECE_PLACE_ON_SURFACE, g_Game, GetObjectNameFromSurfaceConfig(), m_Decal, m_Parent, UnderObjectDecalSpawnSettings::m_PositionOffset, UnderObjectDecalSpawnSettings::m_RandomizeRotation, UnderObjectDecalSpawnSettings::m_ScaleMin, m_Settings, Math::PI, Math::RAD2DEG, and Math::RandomFloat().
void UnderObjectDecalSpawnComponent | ( | notnull UnderObjectDecalSpawnSettings | pSettings, |
notnull Object | pParent | ||
) |
References m_Parent, and m_Settings.
Referenced by EEInit(), and OnItemLocationChanged().
void UpdateSize | ( | float | pScaleValue | ) |
protected Object m_Decal |
Referenced by RemoveDecal(), SpawnDecal(), and UpdateSize().
private float m_LastScaleValue |
Referenced by UpdateSize().
protected Object m_Parent |
protected ref UnderObjectDecalSpawnSettings m_Settings |
Referenced by UniversalTemperatureSourceDebug::ChangeSettings(), UniversalTemperatureSourceDebug::GetFullRange(), UniversalTemperatureSourceDebug::GetMaxRange(), UniversalTemperatureSourceDebug::GetParent(), UniversalTemperatureSourceDebug::GetPosition(), UniversalTemperatureSourceDebug::GetTemperatureCap(), UniversalTemperatureSourceDebug::GetTemperatureItemCap(), UniversalTemperatureSourceDebug::GetTemperatureItemCoef(), UniversalTemperatureSourceDebug::GetTemperatureMax(), UniversalTemperatureSourceDebug::GetTemperatureMin(), UniversalTemperatureSourceDebug::Init(), UniversalTemperatureSourceDebug::IsActive(), UniversalTemperatureSourceDebug::SetActive(), SpawnDecal(), UnderObjectDecalSpawnComponent(), UniversalTemperatureSourceDebug::UniversalTemperatureSource(), and UpdateSize().
class UnderObjectDecalSpawnSettings SURFACE_PARAM_DECAL_NAME = "underObjectDecal" |