mapSkeleton
mapSkeleton<
T
>(mapFn
):object
Mapping of skeleton
Creates a SkeletonMap | mapped object where value of property for each bone of skeleton is evaluated by provided mapping function.
Type Parameters
Section titled “Type Parameters”T
Type of mapped object values
Parameters
Section titled “Parameters”(b
) => T
Function mapping a bone to a value
Returns
Section titled “Returns”object
Mapped object of all skeleton bones
armL:
T
armR:
T
footL:
T
footR:
T
forearmL
Section titled “forearmL”forearmL:
T
forearmR
Section titled “forearmR”forearmR:
T
handL:
T
handR:
T
head:
T
headEnd
Section titled “headEnd”headEnd:
T
hips:
T
legL:
T
legR:
T
neck:
T
shoulderL
Section titled “shoulderL”shoulderL:
T
shoulderR
Section titled “shoulderR”shoulderR:
T
spine:
T
spine1
Section titled “spine1”spine1:
T
spine2
Section titled “spine2”spine2:
T
toeL:
T
toeR:
T
uplegL
Section titled “uplegL”uplegL:
T
uplegR
Section titled “uplegR”uplegR:
T