Validate() static private méthode

Helper function that removes not-a-number values from the vector.
static private Validate ( Vector3 vector ) : Vector3
vector Vector3
Résultat Vector3
        /// <summary>
        /// Validates the current Vector.
        /// </summary>

        public VectorWrapper Validate()
        {
            Vector3 vector = NGUITransformInspector.Validate(value);

            Set(vector);
            return(this);
        }
Exemple #2
0
        /// <summary>
        /// Validates the current Vector.
        /// </summary>

        public Vector3Update Validate()
        {
            Vector3 vector = NGUITransformInspector.Validate(Value);

            Set(vector);
            return(this);
        }