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] 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] Maximum distance used for medianmedian_min
(float): [Read-Write] Minimum distance used for medianmedian_reference
(Vector): [Read-Write] Rotation or position of median (used for normalization)normalize_method
(RBFNormalizeMethod): [Read-Write] Method to use for normalizing the weightradius
(float): [Read-Write] Default radius for each target.solver_type
(RBFSolverType): [Read-Write] 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] Axis to use when DistanceMethod is SwingAngleweight_threshold
(float): [Read-Write] Weight below which we shouldn’t bother returning a contribution from a target
- property automatic_radius¶
[Read-Write] 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] Rotation or position of median (used for normalization)
- Type
(Vector)
- property normalize_method¶
[Read-Write] Method to use for normalizing the weight
- Type
- property solver_type¶
[Read-Write] 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