SkeletonAsset

Inherits from BaseSkeletonAsset

Summary

Constructors

SkeletonAsset()
SkeletonAsset(guid: Guid)
SkeletonAsset(other: BaseSkeletonAsset)
SkeletonAsset(other: Asset)
SkeletonAsset(other: DataContainer)

Properties

Name Type
boneNames string[]
hierarchy int[]
localPose LinearTransform[]
modelPose LinearTransform[]
weaponBoneName string
headBoneName string
hipBoneName string
cameraBoneName string

Static members

Name Type
SkeletonAsset.typeInfo TypeInformation

Constructors

SkeletonAsset

SkeletonAsset()

Creates a new SkeletonAsset frostbite instance.

SkeletonAsset

SkeletonAsset(guid: Guid)

Creates a new SkeletonAsset frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

SkeletonAsset

SkeletonAsset(other: BaseSkeletonAsset)

Casts an instance of type BaseSkeletonAsset to SkeletonAsset. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other BaseSkeletonAsset The instance to cast to SkeletonAsset.

SkeletonAsset

SkeletonAsset(other: Asset)

Casts an instance of type Asset to SkeletonAsset. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other Asset The instance to cast to SkeletonAsset.

SkeletonAsset

SkeletonAsset(other: DataContainer)

Casts an instance of type DataContainer to SkeletonAsset. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to SkeletonAsset.

Properties

boneNames

string[]

hierarchy

int[]

localPose

LinearTransform[]

modelPose

LinearTransform[]

weaponBoneName

string

headBoneName

string

hipBoneName

string

cameraBoneName

string

Static members

typeInfo

TypeInformation

The type information for the SkeletonAsset type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351c)