VixenModules.App.Curves.Curve.CheckLibraryReference C# (CSharp) 메소드

CheckLibraryReference() 공개 메소드

Checks that the library reference is still valid and current.
public CheckLibraryReference ( ) : bool
리턴 bool
        public bool CheckLibraryReference()
        {
            // If we have a reference to a curve in the library, try and use that to check if the points are still valid.
            if (LibraryReferencedCurve != null) {
                if (!LibraryReferencedCurve.IsCurrentLibraryCurve) {
                    return !UpdateLibraryReference();
                }
            }
            else {
                return !UpdateLibraryReference();
            }

            return true;
        }