read method

ActorConstraint read (
  1. ActorArtboard artboard,
  2. StreamReader reader,
  3. ActorConstraint component
)
override

Implementation

static ActorConstraint read(
    ActorArtboard artboard, StreamReader reader, ActorConstraint component) {
  ActorComponent.read(artboard, reader, component);
  component._strength = reader.readFloat32("strength");
  component._isEnabled = reader.readBool("isEnabled");

  return component;
}