Axiom.Overlays.Overlay.GetWorldTransforms C# (CSharp) Метод

GetWorldTransforms() публичный Метод

Used to transform the overlay when scrolling, scaling etc.
public GetWorldTransforms ( Matrix4 xform ) : void
xform Axiom.Math.Matrix4 Array of Matrix4s to populate with the world /// transforms of this overlay. ///
Результат void
		public void GetWorldTransforms( Matrix4[] xform )
		{
			if ( isTransformOutOfDate )
			{
				UpdateTransforms();
			}

			xform[ 0 ] = transform;
		}

Usage Example

 /// <summary>
 ///
 /// </summary>
 /// <param name="matrices"></param>
 public void GetWorldTransforms(Axiom.MathLib.Matrix4[] matrices)
 {
     overlay.GetWorldTransforms(matrices);
 }