docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ICameraDetails

    Camera data structure for spatial attachment

    Namespace: Unity.Cloud.Collaboration.Models.Abstractions
    Assembly: Unity.Cloud.Collaboration.dll
    Syntax
    public interface ICameraDetails

    Properties

    FieldOfView

    Camera field of view.

    Declaration
    [DataMember(Name = "fieldOfView", EmitDefaultValue = true)]
    float? FieldOfView { get; }
    Property Value
    Type Description
    float?

    Position

    The representation of a Camera position (3D).

    Declaration
    [DataMember(Name = "position", EmitDefaultValue = true, IsRequired = true)]
    SpatialPosition Position { get; }
    Property Value
    Type Description
    SpatialPosition

    Projection

    Projection type for the camera. Possible values: "orthographic" | "perspective".

    Declaration
    [DataMember(Name = "projection", EmitDefaultValue = true)]
    CameraProjection? Projection { get; }
    Property Value
    Type Description
    CameraProjection?

    Rotation

    The representation of a Camera rotation (3D).

    Declaration
    [DataMember(Name = "rotation", EmitDefaultValue = true, IsRequired = true)]
    SpatialRotation Rotation { get; }
    Property Value
    Type Description
    SpatialRotation

    Target

    The representation of a target position (3D).

    Declaration
    [DataMember(Name = "target", EmitDefaultValue = true)]
    SpatialPosition? Target { get; }
    Property Value
    Type Description
    SpatialPosition?

    VerticalSize

    Vertical viewing size for the camera. Could be null if the camera is in a perspective projection.

    Declaration
    [DataMember(Name = "verticalSize", EmitDefaultValue = true)]
    float? VerticalSize { get; }
    Property Value
    Type Description
    float?
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)