USkinnedMeshComponent::GetBoneAxis

Finds a vector pointing along the given axis of the given bone

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h

Include

#include "Components/SkinnedMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp

Syntax

FVector GetBoneAxis
(
    FName BoneName,
    EAxis::Type Axis
) const

Remarks

Finds a vector pointing along the given axis of the given bone

Returns

the direction of the specified axis, or (0,0,0) if the specified bone was not found

Parameters

Parameter

Description

BoneName

the name of the bone to find

Axis

the axis of that bone to return