XNAInterfaceComponents.Components.Component.GetDrawDepthOffset C# (CSharp) Method

GetDrawDepthOffset() protected method

Takes the depth of this component, and multiplies it by 0.01f to get a value which you can use to draw the component at the correct depth on the screen.
protected GetDrawDepthOffset ( ) : float
return float
        protected float GetDrawDepthOffset()
        {
            return (this.GetDepth() * 0.01f);
        }