TriLib
Search Results for

    Show / Hide Table of Contents

    Interface ICamera

    Represents a TriLib Camera.

    Inherited Members
    IModel.Pivot
    IModel.LocalPosition
    IModel.LocalRotation
    IModel.LocalScale
    IModel.Visibility
    IModel.Parent
    IModel.Children
    IModel.Bones
    IModel.IsBone
    IModel.GeometryGroup
    IModel.BindPoses
    IModel.MaterialIndices
    IModel.UserProperties
    IModel.HasCustomPivot
    IModel.OriginalGlobalMatrix
    IObject.Name
    IObject.Used
    Namespace: TriLibCore.Interfaces
    Assembly: TriLibCore.dll
    Syntax
    public interface ICamera : IModel, IObject

    Properties

    AspectRatio

    The camera aspect ratio.

    Declaration
    float AspectRatio { get; set; }
    Property Value
    Type Description
    float

    FarClipPlane

    The camera far clip distance.

    Declaration
    float FarClipPlane { get; set; }
    Property Value
    Type Description
    float

    FieldOfView

    The camera field of view in degrees.

    Declaration
    float FieldOfView { get; set; }
    Property Value
    Type Description
    float

    FocalLength

    The physical camera focal length.

    Declaration
    float FocalLength { get; set; }
    Property Value
    Type Description
    float

    GateFitMode

    The physical camera gate fit mode.

    Declaration
    Camera.GateFitMode GateFitMode { get; set; }
    Property Value
    Type Description
    GateFitMode

    HasTarget

    Defines whether this camera has a target.

    Declaration
    bool HasTarget { get; set; }
    Property Value
    Type Description
    bool

    LensShift

    The physical camera lens shift.

    Declaration
    Vector2 LensShift { get; set; }
    Property Value
    Type Description
    Vector2

    NearClipPlane

    The camera near clip plane distance.

    Declaration
    float NearClipPlane { get; set; }
    Property Value
    Type Description
    float

    Ortographic

    Indicates whether the camera ortographic?

    Declaration
    bool Ortographic { get; set; }
    Property Value
    Type Description
    bool

    OrtographicSize

    The camera ortographic size.

    Declaration
    float OrtographicSize { get; set; }
    Property Value
    Type Description
    float

    PhysicalCamera

    Defines whether this is a camera with physical properties.

    Declaration
    bool PhysicalCamera { get; set; }
    Property Value
    Type Description
    bool

    SensorSize

    The physical camera sensor size.

    Declaration
    Vector2 SensorSize { get; set; }
    Property Value
    Type Description
    Vector2

    Extension Methods

    IObjectExtensions.TryToDispose<T>(object)
    ModelExtensions.CalculateBounds(IModel)
    ModelExtensions.CountChild(IModel)
    ModelExtensions.GetBones(IModel, AssetLoaderContext, List<Transform>)
    ModelExtensions.GetGlobalMatrix(IModel)
    ModelExtensions.GetGlobalMatrixNoScale(IModel)
    ModelExtensions.GetGlobalParentMatrix(IModel)
    ModelExtensions.GetLocalMatrix(IModel)
    ModelExtensions.GetLocalMatrixNoScale(IModel)
    ModelExtensions.MovePivot(IModel, AssetLoaderContext)
    ModelExtensions.SortByName(IModel)
    In this article
    Back to top Generated by DocFX