Exemplo n.º 1
0
        private void PopInstance(
            string InLogLinePrefix
            )
        {
            FDocumentData DocumentData = DocumentDataStack.Peek();

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

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

            FDocumentData DocumentData = DocumentDataStack.Peek();

            DocumentData.LogElement(DebugLog, InLogLinePrefix, -1);
            DocumentData.PopElement();
        }
Exemplo n.º 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);
        }