pub type ColorMesh2dBundle = MaterialMesh2dBundle<ColorMaterial>;
Expand description

A component bundle for entities with a Mesh2dHandle and a ColorMaterial.

Aliased Type§

struct ColorMesh2dBundle {
    pub mesh: Mesh2dHandle,
    pub material: Handle<ColorMaterial>,
    pub transform: Transform,
    pub global_transform: GlobalTransform,
    pub visibility: Visibility,
    pub inherited_visibility: InheritedVisibility,
    pub view_visibility: ViewVisibility,
}

Fields§

§mesh: Mesh2dHandle§material: Handle<ColorMaterial>§transform: Transform§global_transform: GlobalTransform§visibility: Visibility

User indication of whether an entity is visible

§inherited_visibility: InheritedVisibility§view_visibility: ViewVisibility