A character encapsulates a skeleton resource, an animation resource, and the ability to instantiate such and drive animations.
Base class for all model nodes, which is the resource level instantiation of hierarchical model.
A skeleton resource is a container for skeletons loaded from an NSK file.
Stream loader for skeletons.
Contains relevant information about a skeleton joint.
- Copyright
- (C) 2018-2020 Individual contributors, see AUTHORS file
-
(C) 2022 Individual contributors, see AUTHORS file
Each node represents some level in the hierarchy, and the different type of node contain their specific data.
The nodes have names for lookup, the name is setup during load.
A node is a part of an N-tree, meaning there are N children [0-infinity] for each node. The model itself keeps track of the root node, and a dictionary of all nodes and their corresponding names.
- Copyright
- (C) 2017-2020 Individual contributors, see AUTHORS file
|
| __ImplementContext (CharacterContext, CharacterContext::characterContextAllocator) |
|
const bool | IsExpired (const CharacterContext::AnimationRuntime &runtime, const Timing::Time time) |
|
const bool | IsInfinite (const CharacterContext::AnimationRuntime &runtime) |
|
Timing::Tick | GetAbsoluteStopTime (const CharacterContext::AnimationRuntime &runtime) |
|
void | EvalCharacter (SizeT totalJobs, SizeT groupSize, IndexT groupIndex, SizeT invocationOffset, void *ctx) |
|
| __ImplementEnumBitOperators (CharacterContext::LoadState) |
|
const SkeletonId | CreateSkeleton (const SkeletonCreateInfo &info) |
| create model (resource)
|
|
void | DestroySkeleton (const SkeletonId id) |
| discard model (resource)
|
|
const SizeT | SkeletonGetNumJoints (const SkeletonId id) |
| get number of joints from skeleton
|
|
const Util::FixedArray< CharacterJoint > & | SkeletonGetJoints (const SkeletonId id) |
| get joints from skeleton
|
|
const Util::FixedArray< Math::mat4 > & | SkeletonGetBindPose (const SkeletonId id) |
| get bind pose
|
|
const IndexT | SkeletonGetJointIndex (const SkeletonId id, const Util::StringAtom &name) |
| get joint index
|
|
const Util::FixedArray< Math::vec4 > & | SkeletonGetIdleSamples (const SkeletonId id) |
| Get idle samples.
|
|
void | SkeletonEvalJob (const Jobs::JobFuncContext &ctx) |
|
void | SkeletonEvalJobWithVariation (const Jobs::JobFuncContext &ctx) |
|
| __ImplementClass (Characters::SkeletonLoader, 'SSKP', Resources::ResourceLoader) Resources |
|
const SkeletonId | SkeletonResourceGetSkeleton (const SkeletonResourceId id, IndexT index) |
| Fetch skeleton from loaded resource.
|
|
void | DestroySkeletonResource (const SkeletonResourceId id) |
| Discard skeleton resource and the skeletons it holds.
|
|