Table of Contents

INFORMATION_LAYER_BUILDING

Abstract class
Category: Asset

Parent class: ASSET
Inherited by:

List of INFORMATION_LAYER_BUILDING assets

Properties


ZoneSizeForPartWithNoZones

Serialized


DistanceForMaximumInfluence

Serialized


DistanceToStartInfluence

Serialized


InitialValue

Serialized

Value added to all base value before any processing.


InitialMultiplier

Serialized

Value multiplied to all base value before any processing.


BoostPowerPerCategory

Serialized

Power applied to the total boost value of each category.


BoostMultiplier

Serialized

Multiplier for the total boost value.


FinalPower

Serialized

Used to compute final radius. Formula: FinalMultiplier * pow(TotalBoostedValue, FinalPower).


FinalMultiplier

Serialized

Used to compute final radius. Formula: FinalMultiplier * pow(TotalBoostedValue, FinalPower).


DebugName

Serialized


DebugDrawColor

Serialized

Color to draw the layer


DebugDrawColorPreview

Serialized

Color to draw the preview layer


GenerateSdfTexture

Serialized

Generate the 'Signed Distance Field' texture of the layer. This will be needed if the layer is displayed as a visibility layer.

Functions


internalGetValue

Virtual function, Protected function

float internalGetValue(building, considerPreviewParts)

Name Type Description
building COMP_BUILDING
considerPreviewParts boolean

internalGetValueAndCategory

Virtual function, Protected function

float internalGetValueAndCategory(buildingPart, considerPreviewParts, outRootValue, outCategoryId)

Name Type Description
buildingPart COMP_BUILDING_PART
considerPreviewParts boolean
outRootValue float Out argument
outCategoryId integer_and_unsigned_integer Out argument