pub type LogicNode = LogicNode<Handle<Node>>;Expand description
Scene specific animation blending state machine logic node.
Aliased Type§
pub enum LogicNode {
Parameter(String),
And(AndNode<Handle<Node>>),
Or(OrNode<Handle<Node>>),
Xor(XorNode<Handle<Node>>),
Not(NotNode<Handle<Node>>),
IsAnimationEnded(Handle<Animation<Handle<Node>>>),
}Variants§
Parameter(String)
Fetches a value of Rule parameter and returns its value. false if the parameter is not found.
And(AndNode<Handle<Node>>)
Calculates logical AND between two arguments. Output value will be true iff both of the arguments is true.
Or(OrNode<Handle<Node>>)
Calculates logical OR between two arguments. Output value will be true iff any of the arguments is true.
Xor(XorNode<Handle<Node>>)
Calculates logical XOR (excluding OR) between two arguments. Output value will be true iff the arguments differ.
Not(NotNode<Handle<Node>>)
Calculates logical NOT of an argument. Output value will be true if the value of the argument is false.
IsAnimationEnded(Handle<Animation<Handle<Node>>>)
Returns true if the animation has ended, false - otherwise.