Math

About

  • Header File: c4d_simulation/description/ofparithmetic.h

  • Description Category: Scene Objects. A c4d.BaseObject.

  • Included Description:

Parameters

Parameters are accessed with C4DAtom.GetParameter()/C4DAtom.SetParameter().


Parameter: Operation

  • Parameter ID: c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR

  • Parameter Type: int

  • Cycle Values:
    • Add (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_ADD)

    • Subtract (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_SUB)

    • Multiply (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_MULTIPLY)

    • Divide (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_DIVIDE)

    • Assign (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_ASSIGN)

    • Pow (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_POW)

    • Root (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_ROOT)

    • Abs (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_ABS)

    • Mod (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_MOD)

    • Invert (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_INVERT)

    • Sin (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_SIN)

    • Cos (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_COS)

    • Positive Sin (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_ABS_SIN)

    • Positive Cos (c4d.FP_ARITHMETIC_OBJECT_ARITHMETICOPERATOR_ABS_COS)


Parameter: Source

  • Parameter ID: c4d.FP_ARITHMETIC_OBJECT_INPUT_MODE

  • Parameter Type: int

  • Cycle Values:
    • Constant (c4d.FP_ARITHMETIC_OBJECT_INPUT_MODE_CONSTANT)

    • Field (c4d.FP_ARITHMETIC_OBJECT_INPUT_MODE_FIELD)

    • Property (c4d.FP_ARITHMETIC_OBJECT_INPUT_MODE_PROPERTY)


Parameter: Value

  • Parameter ID: c4d.FP_ARITHMETIC_OBJECT_FLOATVALUE

  • Parameter Type: float


Parameter: Value

  • Parameter ID: c4d.FP_ARITHMETIC_OBJECT_VECTORVALUE

  • Parameter Type: c4d.Vector


Parameter: Value

  • Parameter ID: c4d.FP_ARITHMETIC_OBJECT_TIMEVALUE

  • Parameter Type: c4d.BaseTime


Parameter: Field

  • Parameter ID: c4d.FP_ARITHMETIC_FIELDLIST

  • Parameter Type: c4d.FieldList


Parameter: Property Out

  • Parameter ID: c4d.FP_ARITHMETIC_ATTRIBUTE_OUT

  • Parameter Type: int

  • Cycle Values:
    • FP_ATTRIBUTES_AGE (c4d.FP_ATTRIBUTES_AGE)

    • FP_ATTRIBUTES_ANGULARVELOCITY (c4d.FP_ATTRIBUTES_ANGULARVELOCITY)

    • FP_ATTRIBUTES_COLOR (c4d.FP_ATTRIBUTES_COLOR)

    • FP_ATTRIBUTES_DISTANCE (c4d.FP_ATTRIBUTES_DISTANCE)

    • FP_ATTRIBUTES_LIFETIME (c4d.FP_ATTRIBUTES_LIFETIME)

    • FP_ATTRIBUTES_POSITION (c4d.FP_ATTRIBUTES_POSITION)

    • FP_ATTRIBUTES_RADIUS (c4d.FP_ATTRIBUTES_RADIUS)

    • FP_ATTRIBUTES_VELOCITY (c4d.FP_ATTRIBUTES_VELOCITY)

    • 0 (c4d.0)

    • FP_ATTRIBUTES_ANGULARVELOCITYSPEED (c4d.FP_ATTRIBUTES_ANGULARVELOCITYSPEED)

    • FP_ATTRIBUTES_VELOCITYSPEED (c4d.FP_ATTRIBUTES_VELOCITYSPEED)


Parameter: Property Channel

  • Parameter ID: c4d.FP_ARITHMETIC_VECTOR_EXTRACT_OUT

  • Parameter Type: int

  • Cycle Values:
    • FP_EXTRACT_COMPONENT_X (c4d.FP_EXTRACT_COMPONENT_X)

    • FP_EXTRACT_COMPONENT_Y (c4d.FP_EXTRACT_COMPONENT_Y)

    • FP_EXTRACT_COMPONENT_Z (c4d.FP_EXTRACT_COMPONENT_Z)

    • FP_EXTRACT_COMPONENTS_XYZ (c4d.FP_EXTRACT_COMPONENTS_XYZ)


Parameter: Property Channel

  • Parameter ID: c4d.FP_ARITHMETIC_COLOR_EXTRACT_OUT

  • Parameter Type: int

  • Cycle Values:
    • FP_EXTRACT_COMPONENT_R (c4d.FP_EXTRACT_COMPONENT_R)

    • FP_EXTRACT_COMPONENT_G (c4d.FP_EXTRACT_COMPONENT_G)

    • FP_EXTRACT_COMPONENT_B (c4d.FP_EXTRACT_COMPONENT_B)

    • FP_EXTRACT_COMPONENT_A (c4d.FP_EXTRACT_COMPONENT_A)

    • FP_EXTRACT_COMPONENTS_RGB (c4d.FP_EXTRACT_COMPONENTS_RGB)


Parameter: FP_ARITHMETIC_DRAW_DISTANCE

  • Parameter ID: c4d.FP_ARITHMETIC_DRAW_DISTANCE

  • Parameter Type: float