Utility for temporarily changing the behavior of a SceneComponent to use absolute transforms, and then restore it to the behavior at the start of the scope. 更多...
#include <SceneComponent.h>
类 FScopedPreventAttachedComponentMove 继承关系图:Public 成员函数 | |
| FScopedPreventAttachedComponentMove (USceneComponent *Component) | |
| Init scoped behavior for a given Component. 更多... | |
Utility for temporarily changing the behavior of a SceneComponent to use absolute transforms, and then restore it to the behavior at the start of the scope.
| FScopedPreventAttachedComponentMove::FScopedPreventAttachedComponentMove | ( | USceneComponent * | Component | ) |
Init scoped behavior for a given Component.
Note that null is perfectly acceptable here (does nothing) as a simple way to toggle behavior at runtime without weird conditional compilation.