Editar

Compartir a través de


CanvasExtensions.GetPlane(Canvas) Method

Definition

Convenience method for getting a plane for this canvas in world coordinates.

public:
[System::Runtime::CompilerServices::Extension]
 static UnityEngine::Plane GetPlane(UnityEngine::Canvas ^ canvas);
public static UnityEngine.Plane GetPlane (this UnityEngine.Canvas canvas);
static member GetPlane : UnityEngine.Canvas -> UnityEngine.Plane
<Extension()>
Public Function GetPlane (canvas As Canvas) As Plane

Parameters

canvas
UnityEngine.Canvas

The canvas to get the plane from.

Returns

UnityEngine.Plane

A Plane for this canvas.

Applies to