Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetAllPhysicsRotation
(
FRotator NewRot |
Set the rotation of all bodies in this component. | Components/PrimitiveComponent.h | |
virtual void SetAllPhysicsRotation
(
const FQuat& NewRot |
Set the rotation of all bodies in this component. | Components/PrimitiveComponent.h |
SetAllPhysicsRotation(FRotator)
Description
Set the rotation of all bodies in this component. If a SkeletalMeshComponent, the root body will be changed to the desired orientation, and the same delta is applied to all other bodies.
| Name | SetAllPhysicsRotation |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp |
virtual void SetAllPhysicsRotation
(
FRotator NewRot
)
Parameters
| Name | Remarks |
|---|---|
| NewRot | New orienatation for the body |
SetAllPhysicsRotation(const FQuat &)
Description
Set the rotation of all bodies in this component. If a SkeletalMeshComponent, the root body will be changed to the desired orientation, and the same delta is applied to all other bodies.
| Name | SetAllPhysicsRotation |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp |
virtual void SetAllPhysicsRotation
(
const FQuat & NewRot
)
Parameters
| Name | Remarks |
|---|---|
| NewRot | New orienatation for the body |