ME3Explorer.KFreonTPFTools3.GetParentTex C# (CSharp) 메소드

GetParentTex() 개인적인 메소드

private GetParentTex ( TPFTexInfo &tex ) : int
tex KFreonLib.Textures.TPFTexInfo
리턴 int
        private int GetParentTex(out TPFTexInfo tex)
        {
            tex = null;
            // Heff: Cancellation check
            if (cts.IsCancellationRequested)
                return -1;

            myTreeNode node = MainTreeView.SelectedNode as myTreeNode;
            myTreeNode parent = (node.Parent as myTreeNode);
            tex = LoadedTexes[parent.TexInd];
            return parent.TexInd;
        }
KFreonTPFTools3