Class: GLTFSubParserSkeleton
Constructors
Methods
Constructors
constructor
• new GLTFSubParserSkeleton(subParser
): GLTFSubParserSkeleton
Parameters
Name | Type |
---|---|
subParser | GLTFSubParser |
Returns
Defined in
src/loader/parser/gltf/GLTFSubParserSkeleton.ts:12
Methods
parse
▸ parse(skeletonID
): PrefabAvatarData
Parameters
Name | Type |
---|---|
skeletonID | number |
Returns
Defined in
src/loader/parser/gltf/GLTFSubParserSkeleton.ts:17
parseSkeletonAnimation
▸ parseSkeletonAnimation(avatarData
, animation
): PropertyAnimationClip
Parameters
Name | Type |
---|---|
avatarData | PrefabAvatarData |
animation | any |
Returns
Defined in
src/loader/parser/gltf/GLTFSubParserSkeleton.ts:27
parseSkeletonAnimationOld
▸ parseSkeletonAnimationOld(skeleton
, animation
): SkeletonAnimationClip
Parameters
Name | Type |
---|---|
skeleton | Skeleton |
animation | any |
Returns
SkeletonAnimationClip