Class Camera

    Definition

    Namespace:
    Tizen.NUI.Scene3D
    Assembly:
    Tizen.NUI.Scene3D.dll

    Camera class controls a camera in 3D space.

    Camera can be added on the SceneView and displays SceneView's virtual 3D world to the screen. Camera can be translated and rotated in the space.

    public class Camera : View, INotifyPropertyChanged, IDisposable
    Inheritance
    object
    BindableObject
    Tizen.NUI.Binding.Element
    BaseHandle
    Animatable
    Container
    View
    Camera
    Implements
    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    Remarks

    Transform inheritance cannot be guaranteed when adding children to a camera.

    Constructors

    View Source

    Camera()

    Creates an uninitialized Camera.

    Declaration
    public Camera()
    Remarks

    Transform inheritance cannot be guaranteed when adding children to a camera.

    View Source

    Camera(Camera)

    Copy constructor.

    Declaration
    public Camera(Camera camera)
    Parameters
    Type Name Description
    Camera camera

    The Camera object to be copied.

    Remarks

    Transform inheritance cannot be guaranteed when adding children to a camera.

    Properties

    View Source

    AspectRatio

    Gets the aspect ratio of the camera.

    Declaration
    public float AspectRatio { get; }
    Property Value
    Type Description
    float
    Remarks

    Transform inheritance cannot be guaranteed when adding children to a camera.

    View Source

    FarPlaneDistance

    Sets/Gets the far clipping plane distance.

    Declaration
    public float FarPlaneDistance { get; set; }
    Property Value
    Type Description
    float
    Remarks

    Transform inheritance cannot be guaranteed when adding children to a camera.

    View Source

    FieldOfView

    Sets/Gets the field of view in Radians. FieldOfView depends on Tizen.NUI.Scene3D.Camera.ProjectionDirection value. The default field of view is 45 degrees.

    Declaration
    public Radian FieldOfView { get; set; }
    Property Value
    Type Description
    Radian
    Remarks

    Transform inheritance cannot be guaranteed when adding children to a camera.

    View Source

    NearPlaneDistance

    Sets/Gets the near clipping plane distance.

    Declaration
    public float NearPlaneDistance { get; set; }
    Property Value
    Type Description
    float
    Remarks

    Transform inheritance cannot be guaranteed when adding children to a camera.

    View Source

    OrthographicSize

    Sets/Gets Orthographic Size of this camera. OrthographicSize depends on Tizen.NUI.Scene3D.Camera.ProjectionDirection value. If ProjectoinDirection is Vertical, OrthographicSize is height/2 of viewing cube of Orthographic projection. If ProjectoinDirection is Horizontal, OrthographicSize is width/2 of viewing cube of Orthographic projection. Remained Width or Height of viewing cube is internally computed by using aspect ratio of Viewport.

    Declaration
    public float OrthographicSize { get; set; }
    Property Value
    Type Description
    float
    Remarks

    Transform inheritance cannot be guaranteed when adding children to a camera.

    View Source

    ProjectionMode

    Sets/Gets the projection mode. The default is Perspective

    Declaration
    public Camera.ProjectionModeType ProjectionMode { get; set; }
    Property Value
    Type Description
    Camera.ProjectionModeType
    Remarks

    Transform inheritance cannot be guaranteed when adding children to a camera.

    Implements

    System.ComponentModel.INotifyPropertyChanged
    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX