UArNode.cone constructor

UArNode.cone({
  1. required String id,
  2. double radius = 0.05,
  3. double height = 0.1,
  4. UArMaterial material = const UArMaterial(),
  5. String? anchorId,
  6. String? parentId,
  7. UArVector3 position = UArVector3.zero,
  8. UArQuaternion rotation = UArQuaternion.identity,
})

Implementation

factory UArNode.cone({
  required String id,
  double radius = 0.05,
  double height = 0.1,
  UArMaterial material = const UArMaterial(),
  String? anchorId,
  String? parentId,
  UArVector3 position = UArVector3.zero,
  UArQuaternion rotation = UArQuaternion.identity,
}) => UArNode(id: id, type: UArNodeType.cone, radius: radius, height: height, material: material, anchorId: anchorId, parentId: parentId, position: position, rotation: rotation);