Skip to main content

Plane

Plane is a primitive object that creates a plane.

Syntax

<Plane />

Parameters

All objects share the same base parameters from ComponentObjectProps.

NameTypeDescription
widthnumberThe width of the plane.
heightnumberThe height of the plane.
widthSegmentsnumberThe number of segments along the width of the plane.
heightSegmentsnumberThe number of segments along the height of the plane.
surfacebooleanWhether the plane is a surface or not.
bloombooleanWhether use bloom effect.
colorColorTypeThe base color.
materialObjectMaterialMixThe material.

Example

<Plane width={1} height={1} />

Available on: Client Server