Open Search
    UVWStruct Struct Reference

    #include <c4d_uvwstruct.h>

    Public Member Functions

     UVWStruct ()
     
     UVWStruct (const Vector &t_a, const Vector &t_b, const Vector &t_c, const Vector &t_d)
     
     UVWStruct (const Vector &t_a, const Vector &t_b, const Vector &t_c)
     

    Public Attributes

    Vector a
     
    Vector b
     
    Vector c
     
    Vector d
     

    Detailed Description

    Struct holding UVW data.

    Constructor & Destructor Documentation

    ◆ UVWStruct() [1/3]

    UVWStruct ( )

    Creates an empty (all zero) UVW variable.

    ◆ UVWStruct() [2/3]

    UVWStruct ( const Vector t_a,
    const Vector t_b,
    const Vector t_c,
    const Vector t_d 
    )

    Constructs the UVW data with the coordinates for a quadrangle.

    Parameters
    [in]t_aThe coordinates of the first point.
    [in]t_bThe coordinates of the second point.
    [in]t_cThe coordinates of the third point.
    [in]t_dThe coordinates of the fourth point.

    ◆ UVWStruct() [3/3]

    UVWStruct ( const Vector t_a,
    const Vector t_b,
    const Vector t_c 
    )

    Constructs the UVW data with the coordinates for a triangle.

    Parameters
    [in]t_aThe coordinates of the first point.
    [in]t_bThe coordinates of the second point.
    [in]t_cThe coordinates of the third point.

    Member Data Documentation

    ◆ a

    Vector a

    The UVW coordinate for the first point in the polygon.

    ◆ b

    Vector b

    The UVW coordinate for the second point in the polygon.

    ◆ c

    Vector c

    The UVW coordinate for the third point in the polygon.

    ◆ d

    Vector d

    The UVW coordinate for the fourth point in the polygon.