public LAMakeAdditivePoseControl(LAMakeAdditivePoseControlConstructionParams csParam) : base(csParam) { InitConstruction(); NodeName = csParam.NodeName; Alpha = csParam.Alpha; BindingTemplateClassInstanceProperties(); IsOnlyReturnValue = true; InitializeLinkControl(csParam); }
void InitializeLinkControl(LAMakeAdditivePoseControlConstructionParams csParam) { mRefLinkHandle = RefPoseHandle; mAdditiveLinkHandle = AdditivePoseHandle; mOutLinkHandle = OutPoseHandle; mRefLinkHandle.MultiLink = false; mAdditiveLinkHandle.MultiLink = false; mOutLinkHandle.MultiLink = false; mRefLinkHandle.NameStringVisible = Visibility.Visible; mRefLinkHandle.NameString = "ReferencePose"; mAdditiveLinkHandle.NameStringVisible = Visibility.Visible; mAdditiveLinkHandle.NameString = "AdditivePose"; //mAdditiveLinkHandle.NameStringVisible = Visibility.Visible; //mAdditiveLinkHandle.NameString = "AdditivePose"; AddLinkPinInfo("RefLinkHandle", mRefLinkHandle, null); AddLinkPinInfo("AdditiveLinkHandle", mAdditiveLinkHandle, null); AddLinkPinInfo("OutLinkHandle", mOutLinkHandle, null); }