Ejemplo n.º 1
0
        public ParticleCapturer CreateComponentCapturer(ComponentCapturer parent, ParticleSystem target)
        {
            if (m_detailedLog)
            {
                Debug.Log("AlembicExporter: new ParticleCapturer(\"" + target.name + "\"");
            }

            var cap = new ParticleCapturer(parent, target);

            m_capturers.Add(cap);
            return(cap);
        }
        ParticleCapturer CreateComponentCapturer(ComponentCapturer parent, ParticleSystem target)
        {
            if (m_settings.debugLog)
            {
                Debug.Log("AlembicRecorder: new ParticleCapturer(\"" + target.name + "\")");
            }

            var cap = new ParticleCapturer(this, parent, target);

            m_capturers.Add(cap);
            return(cap);
        }
Ejemplo n.º 3
0
        public ParticleCapturer CreateComponentCapturer(ParticleSystem target, AbcAPI.aeObject parent)
        {
            if (m_detailedLog)
            {
                Debug.Log("AlembicExporter: new ParticleCapturer(\"" + target.name + "\"");
            }

            var abc = AbcAPI.aeNewPoints(parent, target.name);
            var cap = new ParticleCapturer(target, abc);

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