UArNode.group constructor

UArNode.group({
  1. required String id,
  2. String? anchorId,
  3. String? parentId,
  4. UArVector3 position = UArVector3.zero,
  5. UArQuaternion rotation = UArQuaternion.identity,
  6. UArVector3 scale = UArVector3.one,
})

An empty transform used to move several children together.

Implementation

factory UArNode.group({
  required String id,
  String? anchorId,
  String? parentId,
  UArVector3 position = UArVector3.zero,
  UArQuaternion rotation = UArQuaternion.identity,
  UArVector3 scale = UArVector3.one,
}) => UArNode(id: id, type: UArNodeType.group, anchorId: anchorId, parentId: parentId, position: position, rotation: rotation, scale: scale, castShadow: false);