Constraint Rules bind constraint collections to the evolution and provide their update algorithm. 更多...
#include <PBDConstraintRule.h>
类 Chaos::FConstraintRule 继承关系图:Public 成员函数 | |
| int32 | GetPriority () const |
| Determines the order in which constraints are resolved. 更多... | |
| virtual void | PrepareIteration (FReal Dt) |
| Called once per iteration before Apply. 更多... | |
| virtual void | PrepareTick () |
| Called once per frame. 更多... | |
| void | SetPriority (const int32 InPriority) |
| Set the constraint resolution priority. 更多... | |
| virtual void | UnprepareIteration (FReal Dt) |
| Called once per iteration after Apply. 更多... | |
| virtual void | UnprepareTick () |
| Called once per frame. 更多... | |
Constraint Rules bind constraint collections to the evolution and provide their update algorithm.
|
inline |
Determines the order in which constraints are resolved.
Higher priority constraints override lower priority ones.
|
inlinevirtual |
Called once per iteration before Apply.
Can be used to prepare caches etc.
被 Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS >, Chaos::TPBDConstraintGraphRuleImpl< FCollisionConstraints >, Chaos::TPBDConstraintGraphRuleImpl< Chaos::FPBDJointConstraints >, Chaos::TPBDConstraintGraphRuleImpl< FPBDSuspensionConstraints > , 以及 Chaos::TPBDConstraintGraphRuleImpl< FJointConstraints > 重载.
|
inlinevirtual |
Called once per frame.
Can be used to prepare caches etc.
被 Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS >, Chaos::TPBDConstraintGraphRuleImpl< FCollisionConstraints >, Chaos::TPBDConstraintGraphRuleImpl< Chaos::FPBDJointConstraints >, Chaos::TPBDConstraintGraphRuleImpl< FPBDSuspensionConstraints > , 以及 Chaos::TPBDConstraintGraphRuleImpl< FJointConstraints > 重载.
|
inline |
Set the constraint resolution priority.
Higher priority constraints override lower priority ones.
|
inlinevirtual |
Called once per iteration after Apply.
Should be used to release any transient stores created in PrepareConstraints.
被 Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS >, Chaos::TPBDConstraintGraphRuleImpl< FCollisionConstraints >, Chaos::TPBDConstraintGraphRuleImpl< Chaos::FPBDJointConstraints >, Chaos::TPBDConstraintGraphRuleImpl< FPBDSuspensionConstraints > , 以及 Chaos::TPBDConstraintGraphRuleImpl< FJointConstraints > 重载.
|
inlinevirtual |
Called once per frame.
Should undo whatever is done in PrepareTick (can also free any other transient buffers created after)
被 Chaos::TPBDConstraintGraphRuleImpl< T_CONSTRAINTS >, Chaos::TPBDConstraintGraphRuleImpl< FCollisionConstraints >, Chaos::TPBDConstraintGraphRuleImpl< Chaos::FPBDJointConstraints >, Chaos::TPBDConstraintGraphRuleImpl< FPBDSuspensionConstraints > , 以及 Chaos::TPBDConstraintGraphRuleImpl< FJointConstraints > 重载.