FMX.Forms3D.TCustomForm3D.Camera

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Camera: TCamera read FCamera write SetCamera;

C++

__property Fmx::Controls3d::TCamera* Camera = {read=FCamera, write=SetCamera};

Properties

Type Visibility Source Unit Parent
property public
FMX.Forms3D.pas
FMX.Forms3D.hpp
FMX.Forms3D TCustomForm3D

Description

Specifies the camera attached to this form.

The camera controls the view of the 3D space in this 3D form. The position and orientation (3D rotation) of the camera determine what you see on the surface of this 3D form. There is always a design camera used in the Form Designer and, by default, at run time. For more information regarding how to use this design camera, refer to the UsingDesignCamera help topic.

If you want to use a different camera, set the UsingDesignCamera property of this form to False, and assign a new TCamera object to the Camera property. A scene may have multiple cameras. After assigning a different one to the Camera property, you must manually repaint this form.

See Also