Creates the component.
Optionalconfig: MeshConfig
The component's configuration. Fields marked with DefineField take their values from
config, or its decorated fields keep their initial values.
OptionalactorThe actor that has this component. It is undefined until the component is
added to an actor.
Blending mode for rendering
Color tint applied to the mesh
Current frame to render
Whether the mesh is disabled and should not render
Whether to flip the mesh horizontally
Whether to flip the mesh vertically
Height of the mesh in pixels
OptionalmaterialMaterial describes a shader and its options applied to a texture (optional).
Opacity from 0 (transparent) to 1 (opaque)
Number of frames in the sprite sheet
Sorting layer name for rendering order
Center point for sorting calculations
Path to the texture image file
Width of the mesh in pixels
Draws an image with your own shader.
materialsets the shader.See
Shaders