Table of Contents

Class CameraEntity

Namespace
RustPlusApi.Data.Cameras
Assembly
RustPlusApi.dll

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

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

Properties

EntityId

Unique entity identifier.

public ulong EntityId { get; init; }

Property Value

ulong

Name

Display name of the entity, if available (e.g. player name).

public string? Name { get; init; }

Property Value

string

Position

World-space position of the entity.

public Vector3 Position { get; init; }

Property Value

Vector3

Rotation

Euler rotation of the entity in world space.

public Vector3 Rotation { get; init; }

Property Value

Vector3

Size

World-space bounding size of the entity.

public Vector3 Size { get; init; }

Property Value

Vector3

Type

The kind of entity (player, tree, etc.).

public CameraEntityType Type { get; init; }

Property Value

CameraEntityType