Layer Data
The layer customization component is responsible for defining key aspects of a specific render layer. There are several aspects of a layer that can be modified:
Effect
Pulse Frequency
Color
Texture
Visibility when carrying pollen
Customization Options
color
color
The color that will be applied to the layers texture, this should not be set if your texture is not made to be colored.
texture
texture
The texture for the layer. Each texture requires two versions to exist: normal and angry. The angry texture should use the same name as the normal texture with the suffix _angry
appended to it.
creeper.png
layerEffect
layerEffect
The effect the layer will have. There are 3 options available:
This effect does nothing. It is the default option and does not need to be set explicitly.
This does not have to be set explicitly. The two examples below do the same thing:
isPollen
isPollen
When true
, this layer will only be visible if the bee is carrying pollen.
pulseFrequency
pulseFrequency
Used with the GLOW
layerEffect
to create a flashing effect.
Last updated
Was this helpful?