validate_skeleton
Validates a skeleton by checking if it complies with the requirements of the skeleton schema.
Checks the existence of a joint_parent_index geo property of type array<uint>, along with joint_pivot_matrix of type array<double4x4>.
Checks that the size of both of these geo properties data match the count of point_component.
Checks the integrity of every values in the joint_parent_index data array. A parent index is valid if it points to a position prior to the current joint. If a joint is a root or is isolated, its parent index value must be equal to the value returned by the invalid_index node. The following code snippet summarizes the validation of each joint_parent_index values.
valid = joint_parent_index[i] < i || joint_parent_index[i] == 4294967295Inputs
skeleton
The skeleton to validate.
Outputs
valid
Returns true if the skeleton is valid. Returns false if not.
error_description
A string containing a description of the error when valid is false, meaning that the skeleton is not validated.
