Example #1
0
 /// <summary>
 /// TODO: Only used for LLVOAvatarSelf::mScreenp.  *DOES NOT INITIALIZE mResetAfterRestoreOldXform
 /// </summary>
 /// <param name="name"></param>
 /// <param name="parent"></param>
 public LLJoint(string name, LLJoint parent)
 {
     JointNum = -2;
     Init();
     UpdateXform = false;
     Name        = name;
     parent?.AddChild(this);
     Touch();
 }
Example #2
0
 /// <summary>
 /// set name and parent
 /// </summary>
 /// <param name="name"></param>
 /// <param name="parent"></param>
 public void Setup(string name, LLJoint parent = null)
 {
     Name = name;
     parent?.AddChild(this);
 }