unreal.RBFParams
¶
- class unreal.RBFParams(solver_type=RBFSolverType.ADDITIVE, radius=1.0, automatic_radius=False, function=RBFFunctionType.GAUSSIAN, distance_method=RBFDistanceMethod.EUCLIDEAN, twist_axis=BoneAxis.BA_X, weight_threshold=0.0001, normalize_method=RBFNormalizeMethod.ONLY_NORMALIZE_ABOVE_ONE, median_reference=[0.0, 0.0, 0.0], median_min=45.0, median_max=60.0)¶
Bases:
unreal.StructBase
Parameters used by RBF solver
C++ Source:
Module: AnimGraphRuntime
File: RBFSolver.h
Editor Properties: (see get_editor_property/set_editor_property)
automatic_radius
(bool): [Read-Write] Automatic Radius: Automatically pick the radius based on the average distance between targetsdistance_method
(RBFDistanceMethod): [Read-Write] Distance Methodfunction
(RBFFunctionType): [Read-Write] Functionmedian_max
(float): [Read-Write] Median Max: Maximum distance used for medianmedian_min
(float): [Read-Write] Median Min: Minimum distance used for medianmedian_reference
(Vector): [Read-Write] Median Reference: Rotation or position of median (used for normalization)normalize_method
(RBFNormalizeMethod): [Read-Write] Normalize Method: Method to use for normalizing the weightradius
(float): [Read-Write] Radius: Default radius for each target.solver_type
(RBFSolverType): [Read-Write] Solver Type: Specifies the type of solver to use. The additive solver requires normalization, for themost part, whereas the Interpolative solver is not as reliant on it. The interpolative solver also has smoother blending, whereas the additive solver requires more targets but has a more precise control over the influence of each target.
twist_axis
(BoneAxis): [Read-Write] Twist Axis: Axis to use when DistanceMethod is SwingAngleweight_threshold
(float): [Read-Write] Weight Threshold: Weight below which we shouldn’t bother returning a contribution from a target
- property automatic_radius¶
[Read-Write] Automatic Radius: Automatically pick the radius based on the average distance between targets
- Type
(bool)
- property distance_method¶
[Read-Write] Distance Method
- Type
- property function¶
[Read-Write] Function
- Type
- property median_reference¶
[Read-Write] Median Reference: Rotation or position of median (used for normalization)
- Type
(Vector)
- property normalize_method¶
[Read-Write] Normalize Method: Method to use for normalizing the weight
- Type
- property solver_type¶
[Read-Write] Solver Type: Specifies the type of solver to use. The additive solver requires normalization, for the
most part, whereas the Interpolative solver is not as reliant on it. The interpolative solver also has smoother blending, whereas the additive solver requires more targets but has a more precise control over the influence of each target.
- Type