read static method
ActorDistanceConstraint
read(
- ActorArtboard artboard,
- StreamReader reader,
- ActorDistanceConstraint? component
override
Implementation
static ActorDistanceConstraint read(ActorArtboard artboard,
StreamReader reader, ActorDistanceConstraint? component) {
// ignore: parameter_assignments
component ??= ActorDistanceConstraint();
ActorTargetedConstraint.read(artboard, reader, component);
component._distance = reader.readFloat32('distance');
component._mode = reader.readUint8('modeId');
return component;
}