構造体

各構造体中のオーバーロードされた演算子については MQPlugin.h を参照してください。


typedef struct MQPoint {
    float x,y,z;
} MQPoint;

3次元空間上の位置データまたはベクトルを示します。


typedef struct MQPoint2 {
    float x,y;
} MQPoint2;

(new in Rev4.60)

2次元空間上の位置データまたはベクトルを示します。


typedef struct MQColor {
    float r,g,b;
} MQColor;

R(赤)、G(緑)、B(青)の色データを示します。


typedef struct MQCoordinate {
    float u,v;
} MQCoordinate;

UV値を示します。


typedef struct MQAngle {
    float head,pich,bank;
} MQAngle;

(new in Rev2.30)

回転角を示します。各値は度数法により0~360を一周とするものとなります。


typedef struct MQSelectVertex {
    int object; //index of object
    int vertex; //index of vertex
} MQSelectVertex;

選択頂点を示します。


typedef struct MQSelectLine {
    int object; //index of object
    int face; //index of face
    int line; //index of line
} MQSelectLine;

選択辺を示します。


typedef struct MQSelectFace {
    int object; //index of object
    int face; //face of index
} MQSelectFace;

選択面を示します。