C4 Engine
C4 Engine API Documentation

Widget::SetWidgetTransform

Defined in:  C4Widgets.h
Sets a widget's transform.
Prototype

void SetWidgetTransform(const Transform4D& transform);

void SetWidgetTransform(const Matrix3D& matrix, const Point3D& position);

void SetWidgetTransform(const Vector3D& c1, const Vector3D& c2, const Vector3D& c3, const Point3D& c4);

Parameters
transform The new transform.
matrix The new upper-left 3 × 3 portion of the transform.
position The new position.
c1 The first column of the 4D transform.
c2 The second column of the 4D transform.
c3 The third column of the 4D transform.
c4 The fourth column of the 4D transform.
Description
The SetWidgetTransform function sets a widget's transform.
See Also

Widget::GetWidgetTransform

Widget::SetWidgetMatrix3D

Widget::SetWidgetPosition

Transform4D