3D Lingo Dictionary > E-K > getBoneID |  |

getBoneID

Syntax

    memberReference.modelResource.getBoneID("boneName")

Description

3D model resource property; returns the index number of the bone named `boneName` in the model resource. This property returns 0 if no bone by that name can be found.

Example

This statement returns an ID number for the bone ShinL.

    put member("ParkScene").modelResource("LittleKid").getBoneId("ShinL")
    -- 40

See also

`bone`