ProjectionCamera.Position Property


Gets or sets the position of the camera in world coordinates.

 property System::Windows::Media::Media3D::Point3D Position { System::Windows::Media::Media3D::Point3D get(); void set(System::Windows::Media::Media3D::Point3D value); };
public System.Windows.Media.Media3D.Point3D Position { get; set; }
member this.Position : System.Windows.Media.Media3D.Point3D with get, set
Public Property Position As Point3D

Property Value

Point3D that specifies the position of the camera.


  <PerspectiveCamera FarPlaneDistance="20" LookDirection="5,-2,-3" UpDirection="0,1,0" NearPlaneDistance="0" Position="-5,2,3" FieldOfView="45" />


Note that this property returns the location of the camera, not the LookDirection on which the camera's projection is centered.

Dependency Property Information

Identifier field PositionProperty
Metadata properties set to true None

Applies to