C4 Engine
C4 Engine API Documentation

Widget::SetWidgetMatrix3D

Defined in:  C4Widgets.h
Sets the upper-left 3 × 3 portion of a widget's transform.
Prototype

void SetWidgetMatrix3D(const Matrix3D& matrix);

void SetWidgetMatrix3D(const Vector3D& c1, const Vector3D& c2, const Vector3D& c3);

Parameters
matrix The new upper-left 3 × 3 portion of the transform.
c1 The first column of the 3 × 3 matrix.
c2 The second column of the 3 × 3 matrix.
c3 The third column of the 3 × 3 matrix.
Description
The SetWidgetMatrix3D function sets the upper-left 3 × 3 portion of a widget's transform without effecting the translation portion in the fourth column of the matrix.
See Also

Widget::SetWidgetTransform

Widget::SetWidgetPosition