Esempio n. 1
0
 public UWB_DrawHelper()
 {
     mLod          = eLevelofDetail.lodHigh;
     mShadeMode    = eShadeMode.smGouraud;
     mFillMode     = eFillMode.fmSolid;
     m_TexFileName = null;
     resetAttributes();
     m_MatrixStack = new UWB_MatrixStack();
 }
 public UWB_DrawHelper()
 {
     mLod = eLevelofDetail.lodHigh;
     mShadeMode = eShadeMode.smGouraud;
     mFillMode = eFillMode.fmSolid;
     m_TexFileName = null;
     resetAttributes();
     m_MatrixStack = new UWB_MatrixStack();
 }
 public UWB_Primitive()
 {
     mVisible = true;
     mVelocity = Vector3.Zero;
     mFlatColor = Color.Black;
     mShadingColor = Color.White;
     mFillMode = eFillMode.fmSolid;
     mShadeMode = eShadeMode.smGouraud;
     mPointSize = 2f;
     m_bBlendingEnabled = false;
     m_bLightingEnabled = true;
     m_Material = new UWB_Material();
 }
Esempio n. 4
0
 public UWB_Primitive()
 {
     mVisible           = true;
     mVelocity          = Vector3.Zero;
     mFlatColor         = Color.Black;
     mShadingColor      = Color.White;
     mFillMode          = eFillMode.fmSolid;
     mShadeMode         = eShadeMode.smGouraud;
     mPointSize         = 2f;
     m_bBlendingEnabled = false;
     m_bLightingEnabled = true;
     m_Material         = new UWB_Material();
 }
Esempio n. 5
0
 public virtual void setShadeMode(eShadeMode shadeMode)
 {
     mShadeMode = shadeMode;
 }
 public void setShadeMode(eShadeMode shadeMode)
 {
     mShadeMode = shadeMode;
 }