public ActorSuffix(SlotBuilder sb) { if (sb == null) { throw new ArgumentNullException("sb"); } this.mSB = sb; this.mActor = new RefToActor(sb.mScene, null); this.mParam = new RefToParam(sb.mScene, null); }
public ActorSuffix(SlotBuilder sb, ActorDefinition actor, ParamDefinition param) { if (sb == null) { throw new ArgumentNullException("sb"); } this.mSB = sb; this.mActor = new RefToActor(sb.mScene, actor); this.mParam = new RefToParam(sb.mScene, param); }
public DGPropNode(CreatePropNode cpn, StateNode state) : base(cpn, state) { if (cpn == null) { throw new ArgumentNullException("cpn"); } this.mPropNode = cpn; this.mPropActor = new RefToActor(this.mScene, cpn.PropActor); this.mPropParam = new RefToParam(this.mScene, cpn.PropParam); this.UpdateVisualization(); }
public ActorSuffix(SlotBuilder sb, SlotSetupBuilder.ActorSuffix suffix) { if (sb == null) { throw new ArgumentNullException("sb"); } if (suffix == null) { throw new ArgumentNullException("suffix"); } this.mSB = sb; this.mActor = new RefToActor(sb.mScene, suffix.Actor); this.mParam = new RefToParam(sb.mScene, suffix.Param); }
public DGSoPnNode(SelectOnParameterNode sopn, StateNode state) : base(sopn, state) { if (sopn == null) { throw new ArgumentNullException("sopn"); } this.mSoPn = sopn; this.mParam = new RefToParam(this.mScene, sopn.Parameter); this.mCaseAnchors = new AnchorPoint[0]; this.mCaseStrings = new string[0]; this.mCaseCount = 0; this.mHeadMGH = 7; this.mBodyMGH = 7; this.UpdateVisualization(); }
private void CreateParameterCommand(object value) { RefToParam param = value as RefToParam; this.mScene.Container.UndoRedo.Submit(new ParameterCommand(this, param)); }