s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
Skeleton
chevron_left
Classes
class
Skeleton
Properties
data_object
BoneCount
data_object
Bones
data_object
IsError
data_object
IsProp
data_object
IsValid
data_object
LowLodBoneCount
data_object
MaskCount
data_object
MaskNames
data_object
Name
data_object
SecondarySkeletons
Static Methods
functions
Load
Skeleton
A compiled skeleton (.skel) - a bone hierarchy and its reference pose. This is the skeleton animation clips and graphs are authored against, independent of any one model.
class
Sandbox.Animation
.
account_tree
extends
Resource
sealed
Sandbox.Engine
data_object
Properties
10
BoneCount
int
How many bones this skeleton has.
Bones
IReadOnlyList`1
The bones of this skeleton, in their reference pose. Parents always come before their children, so this can be walked in order.
IsError
bool
Whether the skeleton is invalid, or has not yet loaded.
IsProp
bool
Whether this skeleton belongs to a prop rather than a character.
IsValid
bool
LowLodBoneCount
int
How many bones are sampled at the lowest level of detail. Bones are ordered so these come first, letting distant characters animate only the leading part of the hierarchy.
MaskCount
int
How many bone masks this skeleton defines. Masks weight an animation's influence per bone.
MaskNames
IReadOnlyList`1
The names of this skeleton's bone masks. These are what an animation graph names to weight a pose per bone - a mask authored on a model won't resolve.
Name
string
Skeleton resource name.
SecondarySkeletons
IReadOnlyList`1
Skeletons attached to this one - a held weapon's skeleton, for example. These are resource names, they aren't loaded automatically.
functions
Static Methods
1
Load
(
filename
)
Skeleton
Load a skeleton from the given file.
Inheritance
Resource
Skeleton
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.