self:get_blendshapes

Shared

Retrieves a list of all blend shapes available on a specific component


Syntax

local blendshapes = self:get_blendshapes(
    component
)

Parameters

TypeNameDescription
stringcomponentPath of the component to retrieve blend shapes from

Returns

TypeNameDescription
tableblendshapesArray of blendshape name strings

Examples

Print all blend shapes available on a specific component
local entity = core.model.create("character")
local blendshapes = entity:get_blendshapes("Skeleton3D/Head")

core.engine.iprint(blendshapes)

On this page