//@ Debug Draw
    override public void _SetDrawDebug_Base__All()
    {
        if (null == m_drawRenderMesh)
        {
            return;
        }

        _SetUndrawDebugBase_All();
        base._SetDraw_Bases();

        if (getCountBase() > 0)
        {
            List <CBASE__> listBase             = m_listBase__;
            Quaternion     quaternionCoreText3D = new Quaternion();
            Vector3        v3Position;

            for (int iSeqBase = 0; iSeqBase < listBase.Count; ++iSeqBase)
            {
                CBASE__ baseCurr = listBase[iSeqBase];

                v3Position = baseCurr.getCenterPosition();
                v3Position = v3Position + m_v3PosAdjustText3D;

                m_drawText3D.setNew3DText(v3Position,
                                          quaternionCoreText3D,
                                          m_iFontSizeText3D,
                                          m_colorText3D,
                                          "Start" + iSeqBase + "(" + baseCurr.getIdxType() + ")",
                                          true);
            }
        }
    } // override public void _SetDrawDebug_Base__All()
Пример #2
0
    private void _DrawMarking_Text3D()
    {
        if (null == m_drawText3D)
        {
            return;
        }

        _UndrawMarking_Text3D();

        if (getCountBase() > 0)
        {
            List <CBASE__> listBase             = m_listBase__;
            Quaternion     quaternionCoreText3D = new Quaternion();

            Vector3 v3Position;

            for (int iSeqBase = 0; iSeqBase < listBase.Count; ++iSeqBase)
            {
                CBASE__ baseCurr = listBase[iSeqBase];

                v3Position = baseCurr.getCenterPosition();
                v3Position = v3Position + m_v3PosAdjustText3D;

                m_drawText3D.setNew3DText(v3Position,
                                          quaternionCoreText3D,
                                          m_iFontSizeText3D,
                                          m_colorText3D,
                                          "" + iSeqBase,
                                          true);
            } // for (int iSeqBase = 0; iSeqBase < listBase.Count; ++iSeqBase)
        }
    }         // private void _DrawMarking_Text3D()