Type Alias bevy_internal::pbr::PbrBundle

source ·
pub type PbrBundle = MaterialMeshBundle<StandardMaterial>;
Expand description

A component bundle for PBR entities with a Mesh and a StandardMaterial.

Aliased Type§

struct PbrBundle {
    pub mesh: Handle<Mesh>,
    pub material: Handle<StandardMaterial>,
    pub transform: Transform,
    pub global_transform: GlobalTransform,
    pub visibility: Visibility,
    pub inherited_visibility: InheritedVisibility,
    pub view_visibility: ViewVisibility,
}

Fields§

§mesh: Handle<Mesh>§material: Handle<StandardMaterial>§transform: Transform§global_transform: GlobalTransform§visibility: Visibility

User indication of whether an entity is visible

§inherited_visibility: InheritedVisibility

Inherited visibility of an entity.

§view_visibility: ViewVisibility

Algorithmically-computed indication of whether an entity is visible and should be extracted for rendering