Axiom.Components.Terrain.TerrainQuadTreeNode.Rend.GetCustomParameter C# (CSharp) Method

GetCustomParameter() public method

public GetCustomParameter ( int parameter ) : Vector4
parameter int
return Vector4
            public Vector4 GetCustomParameter(int parameter)
            {
                Vector4 retVal;
                if (mCustomParameters.TryGetValue(parameter, out retVal))
                    return retVal;
                else
                {
                    throw new Exception("Parameter at the given index was not found!\n" +
                        "Renderable.GetCustomParameter");
                }
            }
            /// <summary>