Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SceneCameraRenderer"/> class.
 /// </summary>
 public SceneCameraRenderer()
 {
     Mode          = new CameraRendererModeForward();
     PreRenderers  = new SafeList <IGraphicsRenderer>();
     PostRenderers = new SafeList <IGraphicsRenderer>();
     CullingMask   = EntityGroupMask.All;
     CullingMode   = CameraCullingMode.Frustum;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SceneCameraRenderer"/> class.
 /// </summary>
 public SceneCameraRenderer()
 {
     Mode = new CameraRendererModeForward();
     PreRenderers = new SafeList<IGraphicsRenderer>();
     PostRenderers = new SafeList<IGraphicsRenderer>();
     CullingMask = EntityGroupMask.All;
     CullingMode = CameraCullingMode.Frustum;
 }
Exemplo n.º 3
0
 public EngineTestBase()
 {
     SceneCameraRenderer = new CameraRendererModeForward { Name = "Camera renderer" };
 }
Exemplo n.º 4
0
 public EngineTestBase(string effectName = "XenkoForwardShadingEffect")
 {
     SceneCameraRenderer = new CameraRendererModeForward { Name = "Camera renderer", ModelEffect = effectName };
 }