|
| static Fact | AddFactIfNotFound (Fact fact, out bool exists, bool samestep, Gadget gadget, string scroll_label) |
| | Adds fact to StageStatic.stage.factState More...
|
| |
| static PointFact | AddPointFact (RaycastHit hit, bool samestep=false, Gadget gadget=null, string scroll_label=null) |
| |
| static PointFact | AddPointFact (Vector3 point, Vector3 normal, bool samestep=false, Gadget gadget=null, string scroll_label=null) |
| |
| static OnLineFact | AddOnLineFact (string pid, string lid, bool samestep=false, Gadget gadget=null, string scroll_label=null, bool is_certain=false) |
| |
| static LineFact | AddLineFact (string pid1, string pid2, bool samestep=false, Gadget gadget=null, string scroll_label=null) |
| |
| static RayFact | AddRayFact (string pid1, string pid2, bool samestep=false, Gadget gadget=null, string scroll_label=null) |
| |
| static AngleFact | AddAngleFact (string pid1, string pid2, string pid3, bool samestep=false, Gadget gadget=null, string scroll_label=null) |
| |
| static AngleCircleLineFact | AddAngleCircleLineFact (string cid, string lid, float angleValue, bool samestep=false, Gadget gadget=null, string scroll_label=null) |
| |
| static Fact | AddParsedAngleCircleLineFactIfNotFound (AngleCircleLineFact fact, out bool exists, bool samestep, Gadget gadget, string scroll_label) |
| |
| static Fact | AddParsedAngleFactIfNotFound (AngleFact fact, out bool exists, bool samestep, Gadget gadget, string scroll_label) |
| |
| static EqualCirclesFact | AddEqualCirclesFact (string cid1, string cid2, bool samestep=false, Gadget gadget=null, string scroll_label=null) |
| |
| static UnEqualCirclesFact | AddUnEqualCirclesFact (string cid1, string cid2, bool samestep=false, Gadget gadget=null, string scroll_label=null) |
| |
Initiates named Fact and adds it to StageStatic.stage.factState
- Parameters
-
| samestep | set true if Fact creation happens as a subsequent/ consequent step of multiple Fact creations and/or deletions, and you whish that these are affected by a single FactRecorder.undo/ FactRecorder.redo step |
- Returns
- Fact.Id of generated Fact if not yet existent in StageStatic.stage.factState, else Fact.Id of existent equivalent Fact