Skip to content

Documentation / @ripl/vue-3d / RiplGroup3D

Variable: RiplGroup3D ​

const RiplGroup3D: RiplComponent<RiplGroup3DProps, Group3D<ElementEventMap>>

Defined in: vue-3d/src/components/elements.ts:94

Groups its children, composing its transform onto theirs and cascading its state to them.

A group's transform is not element state, so it applies immediately and cannot be animated by a <ripl-transition>. Animate the children instead.

Example ​

ts
<ripl-group-3d :rotation-y="angle">
    <ripl-cube :size="1" :x="-1"/>
    <ripl-cube :size="1" :x="1"/>
</ripl-group-3d>