Beispiel #1
0
        public CustomCapturerHandler CreateComponentCapturer(AlembicCustomComponentCapturer target, AbcAPI.aeObject parent)
        {
            if (m_detailedLog)
            {
                Debug.Log("AlembicExporter: new CustomCapturerHandler(\"" + target.name + "\"");
            }

            target.CreateAbcObject(parent);
            var cap = new CustomCapturerHandler(target);

            m_capturers.Add(cap);
            return(cap);
        }
        public CustomCapturerHandler CreateComponentCapturer(ComponentCapturer parent, AlembicCustomComponentCapturer target)
        {
            if (m_debugLog)
            {
                Debug.Log("AlembicExporter: new CustomCapturerHandler(\"" + target.name + "\")");
            }

            target.CreateAbcObject(parent.abc);
            var cap = new CustomCapturerHandler(this, parent, target);

            m_capturers.Add(cap);
            return(cap);
        }