unreal.RigUnit_FindClosestItem¶
- class unreal.RigUnit_FindClosestItem(execute_pin: RigVMExecutePin = [], items: None = [], point: Vector = Ellipsis, item: RigElementKey = Ellipsis)¶
Bases:
RigUnitMutableReturns the item with the closest distance to the provided point in global space.
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_FindClosestItem.h
Editor Properties: (see get_editor_property/set_editor_property)
execute_pin(RigVMExecutePin): [Read-Write] This property is used to chain multiple mutable units togetheritem(RigElementKey): [Read-Write] The item closest to the provided pointitems(Array[RigElementKey]): [Read-Write] The list of items to testpoint(Vector): [Read-Write] The point in global space to test against
- property item: RigElementKey¶
[Read-Only] The item closest to the provided point
- Type: