Exemplo n.º 1
0
 public TransformCapturer(ComponentCapturer parent, Transform target)
     : base(parent)
 {
     m_obj      = target.gameObject;
     m_abc      = AbcAPI.aeNewXForm(parent.abc, target.name + " (" + target.GetInstanceID().ToString("X8") + ")");
     m_target   = target;
     m_inherits = inherits;
 }
Exemplo n.º 2
0
        public TransformCapturer CreateComponentCapturer(Transform target, AbcAPI.aeObject parent)
        {
            if (m_detailedLog)
            {
                Debug.Log("AlembicExporter: new TransformCapturer(\"" + target.name + "\"");
            }

            var abc = AbcAPI.aeNewXForm(parent, target.name + " (" + target.GetInstanceID().ToString("X8") + ")");
            var cap = new TransformCapturer(target, abc);

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