Table of Contents

Class CameraBuilder

Namespace
Alis.Builder.Core.Ecs.Component.Render
Assembly
Alis.dll

The camera builder class

public class CameraBuilder : IBuild<Camera>, IResolution<CameraBuilder, int, int>, IBackgroundColor<CameraBuilder, Color>

Inheritance

Implements

Inherited Members

Fields

camera

The camera

private readonly Camera camera

Field Value

Camera

Methods

BackgroundColor(Color)

Backgrounds the color using the specified value

public CameraBuilder BackgroundColor(Color value)

Parameters

value Color

The value

Returns

CameraBuilder

The camera builder

Build()

Builds this instance

public Camera Build()

Returns

Camera

The camera

Resolution(int, int)

Resolutions the x

public CameraBuilder Resolution(int x, int y)

Parameters

x int

The

y int

The

Returns

CameraBuilder

The camera builder