UActorFactorySkeletalMesh::AlignObjectToSurfaceNormal

Return a quaternion which aligns this actor type to the specified surface normal

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UActorFactory::AlignObjectToSurfaceNormal()

UActorFactorySkeletalMesh::AlignObjectToSurfaceNormal()

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/ActorFactories/ActorFactorySkeletalMesh.h

Include

#include "ActorFactories/ActorFactorySkeletalMesh.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Factories/ActorFactory.cpp

Syntax

virtual FQuat AlignObjectToSurfaceNormal
(
    const FVector & InSurfaceNormal,
    const FQuat & ActorRotation
) const

Remarks

Return a quaternion which aligns this actor type to the specified surface normal