public override float GetSquaredViewDepth( Axiom.Core.Camera camera ) { if ( this._ignoreWorld ) { return 0.0f; } else { Vector3 dist = this.camera.DerivedPosition - WorldPosition; return dist.LengthSquared; } }