Sdílet prostřednictvím


RenderNode.CameraDistance Property

Definition

Returns the distance in Z of the camera for this RenderNode

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

Property Value

the distance along the Z axis in pixels.

Attributes

Remarks

Returns the distance in Z of the camera for this RenderNode

Java documentation for android.graphics.RenderNode.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