상속: ResolutionRelativeObject
예제 #1
0
        public WorldRenderLayer(string fullName
                                , AbstractCamera camera
                                , GlobalLayerScaleType layerScaleType    = GlobalLayerScaleType.Dynamic
                                , UniformLayerScaleType uniformScaleType = UniformLayerScaleType.Stretch
                                , World world = null)
            : base(UriUtilities.GetLastPart(fullName), layerScaleType, uniformScaleType)
        {
            rp = ArtemisEngine.RenderPipeline; // for convenience

            Camera       = camera;
            camera.Layer = this;

            _world = world;
        }
예제 #2
0
 public WorldRenderLayer(string fullName, AbstractCamera camera, World world)
     : this(fullName, camera, GlobalLayerScaleType.Dynamic, UniformLayerScaleType.Stretch, world)
 {
 }