예제 #1
0
        public SynthesizeParameters(Exemplar exemplar, SynthControlPacket ControlPacket, SynthResultPacket ResultPacket, Synthesiser.SynthesisFlags flags)
        {
            mExemplar      = exemplar;
            m_Flags        = (flags);
            mControlPacket = ControlPacket;
            mResultPacket  = ResultPacket;

            Globals.Assert((m_Flags & Synthesiser.SynthesisFlags._Standard) != 0 ||
                           (m_Flags & Synthesiser.SynthesisFlags._Spherical) != 0 ||
                           (m_Flags & Synthesiser.SynthesisFlags._Octahedron) != 0 ||
                           (m_Flags & Synthesiser.SynthesisFlags._Atlas) != 0);
        }
예제 #2
0
 public void destroy()
 {
     m_Query = null;
     mSynthResultPacket.destroy();
     mSynthControlPacket = null;
 }