On this page |
You can add custom handles to an asset to provide UI control/manipulator in Unreal. The plugin only supports two types of handles: Transform and Bounds handles.
To add a handle to your asset:
-
Open your HDA’s Type Properties window.
-
Select the Interactive tab, then the Handle Bindings sub-tab.
-
In the popup menu for the handle, select either Bounder (bound) or Transformer (xform) handle.
-
On the right hand panel, you can then link your handle properties to your HDA’s parameters.
Transformer Handle ¶
Transformer handles expose a simple point that you can translate, rotate, or scale. This information transfers back into the corresponding Houdini Handle to control the asset behavior. For example, you can use two Transformer handles to control endpoints for a procedural bridge asset.
The Transformer handle is created if the asset has a Houdini handle of type Transformer (xform) which has bindings to translate, rotate or scale values. When unselected, it appears as a gray square. When selected, it highlights and you can manipulate it using the Unreal TRS manipulator.
Transformer handle in Unreal only support the tx
/ty
/tz
, rx
/ry
/rz
, sx
/sy
/sz
, trs_order
and xyz_order
parameters.
Bounder Handle ¶
The Bounder handle provides a bounding box manipulator for the asset. You can specify a volume of space that affects the asset in an intuitive way. Below is an asset with an unselected bounder handle.
Ckick the gray outline to select the bounding box. This highlights and can be manipulated using the Unreal scale manipulator.
The plug-in will detect when the asset has a handle specified of type Bounder (bound) which has sx
,sy
,sz
bound,
and will create the appropriate component inside Unreal.
The plug-in detects when the asset has a Bounder (bound) handle with a sx
,sy
,sz
bound and creates the necessary components inside Unreal.
When used in Houdini, the Bounder handle exposes a manipulator which is similar to object Scale.