SceneProp constructor

const SceneProp(
  1. String name,
  2. ScenePropKind kind, {
  3. required Object? read(
    1. SceneNode node
    ),
  4. required void write(
    1. SceneNode node,
    2. Object? value
    ),
  5. Object? defaultValue,
  6. String? wireKey,
  7. ScenePropOwner owner = ScenePropOwner.any,
  8. bool animatable = false,
  9. SceneChoices? choices,
  10. List<String>? sides,
  11. SceneQuad quad(
    1. Object? wire
    )?,
  12. bool byHand = false,
  13. String? kindName,
  14. String? unit,
  15. double? softMin,
  16. double? softMax,
  17. bool angular = false,
  18. double? identity,
  19. ScenePick? pick,
})

Implementation

const SceneProp(
  this.name,
  this.kind, {
  required this.read,
  required this.write,
  this.defaultValue,
  this.wireKey,
  this.owner = ScenePropOwner.any,
  this.animatable = false,
  this.choices,
  this.sides,
  this.quad,
  this.byHand = false,
  this.kindName,
  this.unit,
  this.softMin,
  this.softMax,
  this.angular = false,
  this.identity,
  this.pick,
});