unreal.RigVMFunction_MathFloatLawOfCosine¶
- class unreal.RigVMFunction_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:
RigVMFunction_MathFloatBaseComputes the angles alpha, beta and gamma (in radians) between the three sides A, B and C
C++ Source:
Plugin: RigVM
Module: RigVM
File: RigVMFunction_MathFloat.h
Editor Properties: (see get_editor_property/set_editor_property)
a(float): [Read-Write] The length of the first edge of the trianglealpha_angle(float): [Read-Write] The angle of between B and Cb(float): [Read-Write] The length of the second edge of the trianglebeta_angle(float): [Read-Write] The angle of between A and Cc(float): [Read-Write] The length of the third edge of the trianglegamma_angle(float): [Read-Write] The angle of between A and Bvalid(bool): [Read-Write] True if the results are valid