MDLCamera Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A point of view that looks into a 3D scence, and that can simulate certain aspects of a physical camera.
[Foundation.Register("MDLCamera", true)]
public class MDLCamera : ModelIO.MDLObject
[<Foundation.Register("MDLCamera", true)>]
type MDLCamera = class
inherit MDLObject
- Inheritance
- Derived
- Attributes
Constructors
| Name | Description |
|---|---|
| MDLCamera() |
Creates a new MDLCamera with default values. |
| MDLCamera(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| MDLCamera(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| ApertureBladeCount |
Gets or sets the number of blades to use when simulating bokeh in out-of-focus elements in the scene. |
| BarrelDistortion |
Gets or sets the coefficient of the quadratic term in the formula that is used to calculate radial distortion. |
| Children |
Gets or sets the list of the objects of type MDLObject that belong to this MDLObject. (Inherited from MDLObject) |
| ChromaticAberration |
Gets or sets the degree to which different colors are focussed differently by the camera. 0.0 is no chromatic aberration. 1.0 is the maximum amount. |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| Components |
Gets the array of components that belong to this Model I/O object. (Inherited from MDLObject) |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| ExposedBindings | (Inherited from NSObject) |
| Exposure |
Gets or sets a vector whose components are multiplied by the color components of the rendered image prior to simulation of the physical lens. |
| ExposureCompression |
Gets or sets a vector whose X and Y components clamp the low and high values of color components when calculating exposure levels for a simulated physical camera. |
| FarVisibilityDistance |
Gets or sets the back clipping plane. |
| FieldOfView |
Gets or sets the field of view, and updates the focal length of the camera accordingly. |
| FisheyeDistortion |
Gets or sets the coefficient of the fourth-power term in the formula that is used to calculate radial distortion. |
| Flash |
Gets or sets a vector whose signed components are added to the rendered image in order to simulate the effect of a flash. |
| FocalLength |
Gets or sets the focal length and updates the field of view accordingly. |
| FocusDistance |
Gets or sets the focal distance, in meters. |
| FStop |
Gets or sets the focal ratio of the camera. |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| Hidden |
Gets or sets a Boolean value that controls whether the Model IO object is hidden. (Inherited from MDLObject) |
| Instance | (Inherited from MDLObject) |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| MaximumCircleOfConfusion |
Gets or sets the largest size of bokeh from point sources of light. |
| Name |
Gets or sets the descriptive name of the named object. (Inherited from MDLObject) |
| NearVisibilityDistance |
Gets or sets the near clipping plane. |
| OpticalVignetting |
Gets or sets a value that controls the degree to which image brightness is reduced as the edge of the simulated physical aperture is approached. |
| Parent |
Gets or sets this MDLObject object's parent, or |
| Path | (Inherited from MDLObject) |
| Projection |
Gets or sets a value that controls whether the projection is perspective or orthographic. |
| ProjectionMatrix |
Gets or sets the transformation that determines what portion of a scene that the camera can view. |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| SensorAspect |
Gets or sets the aspect ratio of a simulated camera sensor. |
| SensorEnlargement |
Gets or sets the scale factor by which to expand the central region of the region. The image is cropped to the original extent of the sensor. |
| SensorShift |
Gets or sets the directed distance, in mm, by which to offset the sensor from the center line of the simulated optical system. |
| SensorVerticalAperture |
Gets or sets the height, in mm, of the sensor. |
| ShutterOpenInterval |
Gets or sets the time, in seconds, for which the simulated shutter is open per frame. |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| Transform |
Gets or sets the possibly time-dependent transform that establishes this MDLObject object's coordinate system in relation to its parent's coordinate system. (Inherited from MDLObject) |
| WorldToMetersConversionScale |
Gets or sets the scale factor that transforms world coordinates into meters. |
| Zone | (Inherited from NSObject) |