surfaceKind top-level property
A placed asset with a slot: its first child is drawn onto the mesh named
by mesh — or, with no asset, onto a quad one unit tall (times size)
whose width follows the child's box.
Implementation
final SceneKind surfaceKind = SceneKind(
_surfaceName,
constructor: 'SurfaceNode',
children: true,
props: [
..._placement(_surfaceName),
SceneProp.value(
'mesh',
ScenePropKind.string,
of: _surfaceName,
defaultValue: '',
pick: ScenePick.modelMesh,
),
],
);