cone property
ComponentDefinition<Cone3DComponent>
get
cone
Implementation
static ComponentDefinition<Cone3DComponent>
get cone => _definition<Cone3DComponent>(
type: 'Cone3DComponent',
id: 'cone_3d_562bc28a',
create: Cone3DComponent.new,
name: 'Cone',
description: 'A cone, its tip up.',
icon: Icons.change_history,
size: [
_size<Cone3DComponent>('radius', (c) => c.radius, (c, v) => c.radius = v),
_size<Cone3DComponent>('height', (c) => c.height, (c, v) => c.height = v),
],
detail: [
_count<Cone3DComponent>(
'segments',
(c) => c.segments,
(c, v) => c.segments = v,
3,
128,
),
_flag<Cone3DComponent>('smooth', (c) => c.smooth, (c, v) => c.smooth = v),
],
);