共用方式為


View.CameraDistance Property

Definition

Gets the distance along the Z axis from the camera to this view.

public virtual float CameraDistance { [Android.Runtime.Register("getCameraDistance", "()F", "GetGetCameraDistanceHandler")] get; }
[<get: Android.Runtime.Register("getCameraDistance", "()F", "GetGetCameraDistanceHandler")>]
member this.CameraDistance : single

Property Value

The distance along the Z axis.

Attributes

Remarks

Gets the distance along the Z axis from the camera to this view.

Java documentation for android.view.View.getCameraDistance().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also