Axiom.Overlays.OverlayElement.NotifyWorldTransforms C# (CSharp) Method

NotifyWorldTransforms() public method

Notifies the world transforms.
public NotifyWorldTransforms ( Axiom.MathLib.Matrix4 xform ) : void
xform Axiom.MathLib.Matrix4 The xform.
return void
		public virtual void NotifyWorldTransforms( Matrix4[] xform )
		{
			this.xform = xform;
		}

Usage Example

        /// <summary>
        ///    Adds another OverlayElement to this container.
        /// </summary>
        /// <param name="element"></param>
        public virtual void AddChildElement(OverlayElement element)
        {
            Debug.Assert(!this.children.ContainsKey(element.Name),
                         string.Format("Child with name '{0}' already defined.", element.Name));

            // add to lookup table and list
            this.children.Add(element.Name, element);

            // inform this child about his/her parent and zorder
            element.NotifyParent(this, overlay);
            element.NotifyZOrder(zOrder + 1);
            element.NotifyWorldTransforms(xform);
            element.NotifyViewport();
        }
All Usage Examples Of Axiom.Overlays.OverlayElement::NotifyWorldTransforms