#[non_exhaustive]pub enum SkinnedBindPoseCanonicalizationError {
Show 16 variants
NoInstances,
AnimationTrack {
clip: String,
node: usize,
property: &'static str,
},
InvalidCoordinateTransform {
reason: &'static str,
},
InvalidParent {
node: usize,
parent: usize,
},
NonFiniteTransform {
node: usize,
},
NonTrsRoot {
node: usize,
},
MissingReference {
source_node_index: usize,
kind: &'static str,
index: usize,
},
UnskinnedInstance {
source_node_index: usize,
},
InverseBindCount {
source_node_index: usize,
ibms: usize,
joints: usize,
},
MissingInverseBind {
source_node_index: usize,
joint: usize,
},
InconsistentInverseBind {
source_node_index: usize,
joint: usize,
},
SingularJoint {
joint: usize,
},
InvalidGeometryTransform {
source_node_index: usize,
reason: &'static str,
},
InvalidPrimitive {
mesh: usize,
primitive: usize,
reason: &'static str,
},
NonFiniteAttribute {
mesh: usize,
primitive: usize,
attribute: &'static str,
vertex: usize,
},
ZeroNormal {
mesh: usize,
primitive: usize,
vertex: usize,
},
}Expand description
Rejection reason returned by canonicalize_skinned_bind_pose.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NoInstances
The document has no mesh attachments to canonicalize.
AnimationTrack
The operation accepts an unanimated base scene only.
Fields
InvalidCoordinateTransform
The caller supplied an unsafe coordinate conversion.
InvalidParent
The skeleton is not in parent-before-child order.
NonFiniteTransform
A skeleton rest transform or accumulated world matrix is non-finite.
NonTrsRoot
A converted skeleton root cannot be represented as node-local TRS.
MissingReference
A mesh attachment references missing model data.
Fields
UnskinnedInstance
A mesh attachment is not skinned. Select/remove props first.
InverseBindCount
An explicit IBM array does not parallel its joint list.
Fields
MissingInverseBind
A skin relies on a bone-level inverse bind that is absent.
Fields
InconsistentInverseBind
An IBM disagrees with joint_bind_world^-1 * geometry_bind_world.
Fields
SingularJoint
A joint’s rest-world matrix cannot be inverted reliably.
InvalidGeometryTransform
A mesh bind-world transform cannot safely be baked while preserving triangle indices and winding.
Fields
InvalidPrimitive
A primitive is malformed for a skinned triangle mesh.
Fields
NonFiniteAttribute
A vertex attribute is non-finite.
Fields
ZeroNormal
A normal cannot be normalized after the geometry transform.
Trait Implementations§
Source§impl Error for SkinnedBindPoseCanonicalizationError
impl Error for SkinnedBindPoseCanonicalizationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()