Model
self:get_blendshapes
Shared
Retrieves a list of all blend shapes available on a specific component
Syntax
local blendshapes = self:get_blendshapes(component)Parameters
| Type | Name | Description |
|---|---|---|
string | component | Path of the component to retrieve blend shapes from |
Returns
| Type | Name | Description |
|---|---|---|
table | blendshapes | Array of blendshape name strings |
Examples
local entity = model.create("character")
local blendshapes = entity:get_blendshapes("Skeleton3D/Head")
for i = 1, #blendshapes do
engine.print("info", blendshapes[i])
end