Plane
Plane
is a primitive object that creates a plane.
Syntax
<Plane />
Parameters
All objects share the same base parameters from ComponentObjectProps
.
Name | Type | Description |
---|---|---|
width | number | The width of the plane. |
height | number | The height of the plane. |
widthSegments | number | The number of segments along the width of the plane. |
heightSegments | number | The number of segments along the height of the plane. |
surface | boolean | Whether the plane is a surface or not. |
bloom | boolean | Whether use bloom effect. |
color | ColorType | The base color. |
material | ObjectMaterialMix | The material. |
Example
<Plane width={1} height={1} />
Available on: Client Server