unreal.RigUnit_MathFloatLawOfCosine

class unreal.RigUnit_MathFloatLawOfCosine(a: float = 0.0, b: float = 0.0, c: float = 0.0, alpha_angle: float = 0.0, beta_angle: float = 0.0, gamma_angle: float = 0.0, valid: bool = False)

Bases: RigUnit_MathFloatBase

Computes the angles alpha, beta and gamma (in radians) between the three sides A, B and C

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • a (float): [Read-Write] A

  • alpha_angle (float): [Read-Write] Alpha Angle

  • b (float): [Read-Write] B

  • beta_angle (float): [Read-Write] Beta Angle

  • c (float): [Read-Write] C

  • gamma_angle (float): [Read-Write] Gamma Angle

  • valid (bool): [Read-Write] Valid

property a: float

[Read-Write] A

Type:

(float)

property alpha_angle: float

[Read-Only] Alpha Angle

Type:

(float)

property b: float

[Read-Write] B

Type:

(float)

property beta_angle: float

[Read-Only] Beta Angle

Type:

(float)

property c: float

[Read-Write] C

Type:

(float)

property gamma_angle: float

[Read-Only] Gamma Angle

Type:

(float)

property valid: bool

[Read-Only] Valid

Type:

(bool)