Metadata definitions for ShadowEffect2D. More...
Public Attributes | |
DynamicPropertyType< Vector2 > | ActualOffsetProperty |
Reports the offset of the shadow from the object along the x and y axes in pixels. | |
DynamicPropertyType< Float > | AngleProperty |
Sets the direction of the shadow as an angle relative to the positive x axis. | |
DynamicPropertyType< Integer > | BlendModeProperty |
Sets the blend mode to use for rendering the shadow. | |
DynamicPropertyType< Float > | BlurRadiusProperty |
Sets the softness of the shadow by defining the distance in pixels the shadow blur extends outward from an edge. | |
DynamicPropertyType< ColorRGBA > | ColorProperty |
Sets the color and alpha of the shadow. | |
DynamicPropertyType< Float > | DistanceProperty |
Sets how far to move the shadow from the object in the direction set by the Shadow Angle property. | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.ShadowEffect2D") |
Metaclass for ShadowEffect2D. | |
DynamicPropertyType< Vector2 > | OverrideOffsetProperty |
Sets the offset of the shadow from the object along the x and y axes in pixels. | |
DynamicPropertyType< ShadowEffect2DEnums.Quality > | QualityProperty |
Sets the visual quality of the shadow. | |
DynamicPropertyType< Boolean > | ShadowOnlyProperty |
Whether to render only the shadow without the node contents. | |
DynamicPropertyType< ShadowEffect2DEnums.Type > | TypeProperty |
Sets the type of the shadow: | |
Public Attributes inherited from NodeEffect2DMetadata | |
DynamicPropertyType< Boolean > | EnabledProperty |
Whether to apply this effect. | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.NodeEffect2D") |
Metaclass for NodeEffect2D. | |
Public Attributes inherited from ResourceMetadata | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.Resource") |
Metaclass for Resource. | |
Metadata definitions for ShadowEffect2D.
DynamicPropertyType<Vector2> ActualOffsetProperty |
Reports the offset of the shadow from the object along the x and y axes in pixels.
Kanzi calculates the offset from the values of the Shadow Distance and Shadow Angle properties or from the Override Shadow Offset, if it is set.
DynamicPropertyType<Float> AngleProperty |
Sets the direction of the shadow as an angle relative to the positive x axis.
The default is 45 degrees. When you set the Override Shadow Offset property, this property has no effect.
DynamicPropertyType<Integer> BlendModeProperty |
Sets the blend mode to use for rendering the shadow.
Color Blending:
Alpha Compositing:
Advanced Color Blending:
The advanced color blending modes require the GL_KHR_blend_equation_advanced and GL_KHR_blend_equation_advanced_coherent OpengGL extensions.
DynamicPropertyType<Float> BlurRadiusProperty |
Sets the softness of the shadow by defining the distance in pixels the shadow blur extends outward from an edge.
For a shadow with sharp edges, set to 0. The default is 8 pixels.
DynamicPropertyType<ColorRGBA> ColorProperty |
Sets the color and alpha of the shadow.
DynamicPropertyType<Float> DistanceProperty |
Sets how far to move the shadow from the object in the direction set by the Shadow Angle property.
The default is 10 pixels. When you set the Override Shadow Offset property, this property has no effect.
DynamicPropertyType<Vector2> OverrideOffsetProperty |
Sets the offset of the shadow from the object along the x and y axes in pixels.
When you set this property, the Shadow Angle and Shadow Distance properties have no effect. To disable the offset override, remove this property.
DynamicPropertyType<ShadowEffect2DEnums.Quality> QualityProperty |
Sets the visual quality of the shadow.
Lower quality uses less computing and memory resources.
DynamicPropertyType<Boolean> ShadowOnlyProperty |
Whether to render only the shadow without the node contents.
DynamicPropertyType<ShadowEffect2DEnums.Type> TypeProperty |
Sets the type of the shadow: