Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/UTransformProxy
Warnings * The internal shared transform is regenerated each time a component is added
Description
Add a component sub-object to the proxy set with custom transform access functions. This can be used to do things like add an ISM Instance to the TransformProxy.
The internal shared transform is regenerated each time a component is added
| Name | AddComponentCustom |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/TransformProxy.h |
| Include Path | #include "BaseGizmos/TransformProxy.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/TransformProxy.cpp |
virtual void AddComponentCustom
(
USceneComponent * Component,
TUniqueFunction < FTransform> GetTransformFunc,
TUniqueFunction < void> SetTransformFunc,
int64 UserDefinedIndex,
bool bModifyComponentOnTransform
)
Parameters
| Name | Remarks |
|---|---|
| GetTransformFunc | return current transform |
| SetTransformFunc | set current transform |
| UserDefinedIndex | an arbitrary integer that can be provided, not currently used but may be useful in subclasses |
| bModifyComponentOnTransform | if true, Component->Modify() is called before the Component transform is updated |