Skip to content

@genetic-assembly/three / Type Alias: LeverTarget ​

ts
type LeverTarget = 
  | {
  axis: Axis;
  object_id: string;
  type: "position";
}
  | {
  axis: Axis;
  object_id: string;
  type: "rotation";
}
  | {
  axis: Axis;
  object_id: string;
  type: "scale";
}
  | {
  object_id: string;
  type: "visibility";
}
  | {
  object_id: string;
  property: string;
  type: "material";
}
  | {
  object_id: string;
  path: string;
  type: "user_data";
};

Genetic Assembly · Deterministic NSGA-II optimization