CODComponent::SetTransform
Set the transformation matrix for this component.
Defined in: OdComponent.cpp
Syntax
void CODComponent::SetTransform(CODTransform* pXform)
void CODComponent::SetTransform(const CODTransform& xForm)
Return Value
void
Parameters
pXform
Pointer to the new transformation matrix.
xForm
Copy of the new transformation matrix.
Comments
One version of this function takes a pointer to a matrix and the
other a const reference. The pointer version assigns the pointer passed
in directly to the component and deletes the previous matrix. The const
reference version assigns the value of the parameter to the component's
matrix, and creates a new matrix if the component does not have one yet.