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
Name
Display name of the entity, if available (e.g. player name).
public string? Name { get; init; }
Property Value
Position
World-space position of the entity.
public Vector3 Position { get; init; }
Property Value
Rotation
Euler rotation of the entity in world space.
public Vector3 Rotation { get; init; }
Property Value
Size
World-space bounding size of the entity.
public Vector3 Size { get; init; }
Property Value
Type
The kind of entity (player, tree, etc.).
public CameraEntityType Type { get; init; }