Summary
[Assert-Conditional] Throws if the `weight` is negative, infinity, or NaN.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- Validate
Syntax
[System.Diagnostics.Conditional(Strings.Assertions)]
public static void AssertSetWeight(AnimancerNode node, float weight)
Attributes
Type | Description |
---|---|
ConditionalAttribute |
Parameters
Name | Type | Description |
---|---|---|
node | AnimancerNode | |
weight | float |
Return Value
Type | Description |
---|---|
void |