boneOf

@Nullable
open fun boneOf(@NotNull name: @NotNull BoneName): @Nullable RenderedBone

Retrieves a rendered bone by its name.


RenderedBone bone = pipeline.boneOf(BoneName.of("head"));

Return

the rendered bone, or null if not found

Since

1.15.2

Parameters

name

the name of the bone

Throws