示例#1
0
        private void PopInstance(
            string InLogLinePrefix
            )
        {
            FDocumentData DocumentData = DocumentDataStack.Peek();

            DocumentData.LogElement(DebugLog, InLogLinePrefix, -1);
            DocumentData.PopInstance();
        }
示例#2
0
        private void PushInstance(
            ElementType InInstanceType,
            Transform InWorldTransform,
            string InLogLinePrefix
            )
        {
            FDocumentData DocumentData = DocumentDataStack.Peek();

            DocumentData.PushInstance(InInstanceType, InWorldTransform);
            DocumentData.LogElement(DebugLog, InLogLinePrefix, +1);
        }
示例#3
0
        private void PopElement(
            string InLogLinePrefix
            )
        {
            if (CurrentElementSkipped)
            {
                CurrentElementSkipped = false;
                return;
            }

            FDocumentData DocumentData = DocumentDataStack.Peek();

            DocumentData.LogElement(DebugLog, InLogLinePrefix, -1);
            DocumentData.PopElement();
        }
示例#4
0
        private bool PushElement(
            Element InElement,
            Transform InWorldTransform,
            string InLogLinePrefix
            )
        {
            FDocumentData DocumentData = DocumentDataStack.Peek();

            if (DocumentData.PushElement(InElement, InWorldTransform))
            {
                DocumentData.LogElement(DebugLog, InLogLinePrefix, +1);
                return(true);
            }
            return(false);
        }