Axiom.Core.MovableText.GetSquaredViewDepth C# (CSharp) Method

GetSquaredViewDepth() public method

public GetSquaredViewDepth ( Camera camera ) : float
camera Camera
return float
		public override float GetSquaredViewDepth( Camera camera )
		{
			return ( this.ParentNode.DerivedPosition - camera.DerivedPosition ).LengthSquared;
		}