メインコンテンツまでスキップ

<pc-render>

The <pc-render> tag is used to define a render component that renders a 3D primitive.

注記

Attributes

属性 (Attribute)説明
typeThe type of render component. Can be box, capsule, cone, cylinder, plane or sphere.
cast-shadowsValueless attribute. If present, the render component casts shadows.
receive-shadowsValueless attribute. If present, the render component receives shadows.

JavaScript Interface

You can programmatically create and manipulate <pc-render> elements using the RenderComponentElement API.