WWActorEdit.Kazari.DZx.TRES.Render C# (CSharp) Method

Render() public method

public Render ( ) : void
return void
        public void Render()
        {
            GL.PushMatrix();
            GL.Translate(_Position);
            GL.Rotate(_Rotation, 0, 1, 0);
            GL.Color4((Highlight ? System.Drawing.Color.Red : RenderColor));
            if (MatchedModel != null) MatchedModel.Render();
            if (MatchedCollision != null) MatchedCollision.Render();
            if (GL.IsList(GLID) == true) GL.CallList(GLID);
            GL.PopMatrix();
        }