コード例 #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);
        }