Type Alias PbrBundle

Source
pub type PbrBundle = MaterialMeshBundle<StandardMaterial>;
๐Ÿ‘ŽDeprecated since 0.15.0: Use the Mesh3d and MeshMaterial3d components instead. Inserting them will now also insert the other components required by them automatically.
Expand description

A component bundle for PBR entities with a Mesh3d and a MeshMaterial3d<StandardMaterial>.

Aliased Typeยง

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

Fieldsยง

ยงmesh: Mesh3d
๐Ÿ‘ŽDeprecated since 0.15.0: Use the Mesh3d and MeshMaterial3d components instead. Inserting them will now also insert the other components required by them automatically.
ยงmaterial: MeshMaterial3d<StandardMaterial>
๐Ÿ‘ŽDeprecated since 0.15.0: Use the Mesh3d and MeshMaterial3d components instead. Inserting them will now also insert the other components required by them automatically.
ยงtransform: Transform
๐Ÿ‘ŽDeprecated since 0.15.0: Use the Mesh3d and MeshMaterial3d components instead. Inserting them will now also insert the other components required by them automatically.
ยงglobal_transform: GlobalTransform
๐Ÿ‘ŽDeprecated since 0.15.0: Use the Mesh3d and MeshMaterial3d components instead. Inserting them will now also insert the other components required by them automatically.
ยงvisibility: Visibility
๐Ÿ‘ŽDeprecated since 0.15.0: Use the Mesh3d and MeshMaterial3d components instead. Inserting them will now also insert the other components required by them automatically.

User indication of whether an entity is visible

ยงinherited_visibility: InheritedVisibility
๐Ÿ‘ŽDeprecated since 0.15.0: Use the Mesh3d and MeshMaterial3d components instead. Inserting them will now also insert the other components required by them automatically.

Inherited visibility of an entity.

ยงview_visibility: ViewVisibility
๐Ÿ‘ŽDeprecated since 0.15.0: Use the Mesh3d and MeshMaterial3d components instead. Inserting them will now also insert the other components required by them automatically.

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