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.
Name: Color
Key: color
Type: Color
Default: Optional
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
Name: Texture
Key: texture
Type: String
Default: Missing Texture
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.
Name: Layer Effect
Key: layerEffect
Type: Enum | LayerEffect
Default: NONE
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.
Name: Pollen Layer
Key: isPollen
Type: Boolean
Default: false
pulseFrequency
pulseFrequency
Used with the GLOW
layerEffect
to create a flashing effect.
Name: Pulse Frequency
Key: pulsefrequency
Type: Float
Range: 5.0 - 100.0
Default: 0
Last updated