Interface IThinEffectLayerOptions
interface IThinEffectLayerOptions {
alphaBlendingMode?: number;
camera?: Nullable<Camera>;
mainTextureFixedSize?: number;
mainTextureFormat?: number;
mainTextureRatio?: number;
mainTextureType?: number;
renderingGroupId?: number;
}
alphaBlendingMode?: number;
camera?: Nullable<Camera>;
mainTextureFixedSize?: number;
mainTextureFormat?: number;
mainTextureRatio?: number;
mainTextureType?: number;
renderingGroupId?: number;
}
Hierarchy (View Summary)
- IThinEffectLayerOptions
Properties
Optionalalpha Blending Mode
alphaBlendingMode?: number
Alpha blending mode used to apply the blur. Default depends of the implementation. Default: ALPHA_COMBINE
Optionalcamera
The camera attached to the layer. Default: null
Optionalmain Texture Fixed Size
mainTextureFixedSize?: number
Enforces a fixed size texture to ensure resize independent blur. Default: undefined
Optionalmain Texture Format
mainTextureFormat?: number
The format of the main texture. Default: TEXTUREFORMAT_RGBA
Optionalmain Texture Ratio
mainTextureRatio?: number
Multiplication factor apply to the canvas size to compute the render target size used to generated the glowing objects (the smaller the faster). Default: 0.5
Optionalmain Texture Type
mainTextureType?: number
The type of the main texture. Default: TEXTURETYPE_UNSIGNED_BYTE
Optionalrendering Group Id
renderingGroupId?: number
The rendering group to draw the layer in. Default: -1
Effect layer options. This helps customizing the behaviour of the effect layer.