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; }
public WorldRenderLayer(string fullName, AbstractCamera camera, World world) : this(fullName, camera, GlobalLayerScaleType.Dynamic, UniformLayerScaleType.Stretch, world) { }