OpenSim.Region.Framework.Scenes.SceneObjectPart.SetAttachmentPoint C# (CSharp) Method

SetAttachmentPoint() public method

public SetAttachmentPoint ( uint AttachmentPoint ) : void
AttachmentPoint uint
return void
        public void SetAttachmentPoint(uint AttachmentPoint)
        {
            this.AttachmentPoint = AttachmentPoint;

            if (AttachmentPoint != 0)
            {
                IsAttachment = true;
            }
            else
            {
                IsAttachment = false;
            }

            // save the attachment point.
            //if (AttachmentPoint != 0)
            //{
                m_shape.State = (byte)AttachmentPoint;
            //}
        }
SceneObjectPart