protected TExSB(ExMode m, string?name) : base(m, name) { bpi = TExPI.Box(Ex.Field(ex, "bpi")); scale = Ex.Field(ex, "scale"); direction = new TExV2(Ex.Field(ex, "direction")); velocity = new TExMov(Ex.Field(ex, "movement")); }
public TExSB(Expression ex) : base(ex) { bpi = TExPI.Box(Ex.Field(ex, "bpi")); scale = Ex.Field(ex, "scale"); direction = new TExV2(Ex.Field(ex, "direction")); velocity = new TExMov(Ex.Field(ex, "movement")); }
public static TExArgCtx FromBPI(TExPI bpi, string name) => new TExArgCtx(Arg.Make(name, bpi, true));