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