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 targets

  • distance_method (RBFDistanceMethod): [Read-Write] Distance Method

  • function (RBFFunctionType): [Read-Write] Function

  • median_max (float): [Read-Write] Maximum distance used for median

  • median_min (float): [Read-Write] Minimum distance used for median

  • median_reference (Vector): [Read-Write] Rotation or position of median (used for normalization)

  • normalize_method (RBFNormalizeMethod): [Read-Write] Method to use for normalizing the weight

  • radius (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 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.

  • twist_axis (BoneAxis): [Read-Write] Axis to use when DistanceMethod is SwingAngle

  • weight_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

(RBFDistanceMethod)

property function

[Read-Write] Function

Type

(RBFFunctionType)

property median_max

[Read-Write] Maximum distance used for median

Type

(float)

property median_min

[Read-Write] Minimum distance used for median

Type

(float)

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

(RBFNormalizeMethod)

property radius

[Read-Write] Default radius for each target.

Type

(float)

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

(RBFSolverType)

property twist_axis

[Read-Write] Axis to use when DistanceMethod is SwingAngle

Type

(BoneAxis)

property weight_threshold

[Read-Write] Weight below which we shouldn’t bother returning a contribution from a target

Type

(float)