MeshComponent constructor
MeshComponent({
- required Mesh mesh,
- Vector3? position,
- Vector3? scale,
- Quaternion? rotation,
An Object3D that renders a Mesh at the position
with the rotation
and scale
applied.
This is a commonly used subclass of Object3D.
Implementation
MeshComponent({
required Mesh mesh,
super.position,
super.scale,
super.rotation,
}) : _mesh = mesh;