ProjectionCamera.Position Property
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.
Gets or sets the position of the camera in world coordinates.
public:
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.
Examples
<Viewport3D.Camera>
<PerspectiveCamera FarPlaneDistance="20" LookDirection="5,-2,-3" UpDirection="0,1,0" NearPlaneDistance="0" Position="-5,2,3" FieldOfView="45" />
</Viewport3D.Camera>
Remarks
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.