Table of Contents

Namespace RustPlusApi.Data.Cameras

Classes

CameraEntity

A single entity (player/tree/…) sampled within a camera frame.

CameraFrame

A single camera frame streamed from the server (mapped from the AppCameraRays broadcast). Carries the run-length-encoded depth/entity RayData plus the entities in view; turning it into an image is the job of the separate RustPlusApi.Camera rendering package.

CameraInfo

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

Vector3

A 3-component floating-point vector used for camera entity positions, rotations and sizes.

Enums

CameraButtons

Bitmask of camera input buttons sent via SendCameraInputAsync. Values mirror the Rust+ protocol (liamcottle/rustplus.js).

CameraControlFlags

Bitmask describing which inputs a subscribed camera supports (from AppCameraInfo.controlFlags). Values mirror liamcottle/rustplus.js.

CameraEntityType

Type of an entity sampled in a camera frame (from AppCameraRays.Entity.type).