nw::gfx::SkeletalModel::Builder::SharedSkeleton Member Function

Syntax

Builder & SharedSkeleton(
     Skeleton * sharedSkeleton
);

Arguments

Name Description
in sharedSkeleton The shared skeleton.

Return Values

Description

Sets the shared skeleton.

Ownership is not transferred on creation. The model that created the skeleton first has ownership of the skeleton. Operation is undefined if the model that owns the material has been destroyed first. Before rendering, you must call SubmitView for the SkeletalModel that has ownership rights. Skipping this step causes other SkeletalModel objects that share the same skeleton to not be updated.

See Also

SwapSkeleton


CONFIDENTIAL