Esempio n. 1
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);
    }