ProjectionCamera.Position Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public Point3D Position { get; set; }

Property Value

Type: System.Windows.Media.Media3D.Point3D

Point3D that specifies the position of the camera.

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

Identifier field


Metadata properties set to true


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

.NET Framework
Available since 3.0
Return to top