Astra Unity 2.6.6
Astra Unity Plugin
Astra.Asset.RigUtils Class Reference

Classes

struct  CompareRigsResult
 A result structure that contains meta data about rig comparisons More...
 

Static Public Member Functions

static CompareRigsResult CompareRigs (RigItem rig_a, RigItem rig_b)
 
static void DuplicateRigInfo (RigItem rig_a, RigItem rig_b)
 Copies the bone id from the source rig_a to the destination rig_b when the same name is found such as "SpineA" If no bone is found in rig_b it is skipped More...
 
static bool TransferRigData (RigItem rig_a, RigItem rig_b, CompareRigsResult comparison)
 Similar to DuplicateRigInfo, but this one looks at comparison data to determine if things like the rig id should be copied or allowed to stay unique, it will also update the destination rig (rig_b) with meta data based on supplemental results More...
 
static void TriggerRigDiscovery ()
 
static List< int > CheckForNullInfluence (SkinnedMeshRenderer _smr)
 

Member Function Documentation

◆ DuplicateRigInfo()

static void Astra.Asset.RigUtils.DuplicateRigInfo ( RigItem  rig_a,
RigItem  rig_b 
)
inlinestatic

Copies the bone id from the source rig_a to the destination rig_b when the same name is found such as "SpineA" If no bone is found in rig_b it is skipped

Parameters
rig_aSource Rig
rig_bDestination Rig
Returns
A comparison result set, see RigInfoCompareResult

◆ TransferRigData()

static bool Astra.Asset.RigUtils.TransferRigData ( RigItem  rig_a,
RigItem  rig_b,
CompareRigsResult  comparison 
)
inlinestatic

Similar to DuplicateRigInfo, but this one looks at comparison data to determine if things like the rig id should be copied or allowed to stay unique, it will also update the destination rig (rig_b) with meta data based on supplemental results

Parameters
rig_a
rig_b
comparison

The documentation for this class was generated from the following file: