USkeletalMeshComponent::GetBoneMass

Returns the mass (in kg) of the given bone

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Components/SkeletalMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp

Syntax

float GetBoneMass
(
    FName BoneName,
    bool bScaleMass
) const

Remarks

Returns the mass (in kg) of the given bone

Parameters

Parameter

Description

BoneName

Name of the body to return. 'None' indicates root body.

bScaleMass

If true, the mass is scaled by the bone's MassScale.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss