unreal.RigUnit_MathDistanceToPlane

class unreal.RigUnit_MathDistanceToPlane(point: Vector = Ellipsis, plane_point: Vector = Ellipsis, plane_normal: Vector = Ellipsis, closest_point_on_plane: Vector = Ellipsis, signed_distance: float = 0.0)

Bases: RigUnit_MathVectorBase

Find the point on the plane that is closest to the given point and the distance between them.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathVector.h

Editor Properties: (see get_editor_property/set_editor_property)

  • closest_point_on_plane (Vector): [Read-Write] Closest Point on Plane

  • plane_normal (Vector): [Read-Write] Plane Normal

  • plane_point (Vector): [Read-Write] Plane Point

  • point (Vector): [Read-Write] Point

  • signed_distance (float): [Read-Write] Signed Distance

property closest_point_on_plane: Vector

[Read-Only] Closest Point on Plane

Type:

(Vector)

property plane_normal: Vector

[Read-Write] Plane Normal

Type:

(Vector)

property plane_point: Vector

[Read-Write] Plane Point

Type:

(Vector)

property point: Vector

[Read-Write] Point

Type:

(Vector)

property signed_distance: float

[Read-Only] Signed Distance

Type:

(float)