Table of Contents

Class CameraInfo

Namespace
RustPlusApi.Data.Cameras
Assembly
RustPlusApi.dll

Describes a subscribed camera (the reply to SubscribeToCameraAsync), mapped from AppCameraInfo.

public sealed record CameraInfo : IEquatable<CameraInfo>
Inheritance
CameraInfo
Implements
Inherited Members

Properties

ControlFlags

Bitmask of inputs the camera accepts.

public CameraControlFlags ControlFlags { get; init; }

Property Value

CameraControlFlags

FarPlane

Far clip-plane distance (maximum ray cast range).

public float FarPlane { get; init; }

Property Value

float

Height

Render height of the camera, in pixels.

public int Height { get; init; }

Property Value

int

NearPlane

Near clip-plane distance.

public float NearPlane { get; init; }

Property Value

float

Width

Render width of the camera, in pixels.

public int Width { get; init; }

Property Value

int