Contents

init(transformComponent:)

Initializes a transform object to match the specified transform component.

Declaration

convenience init(transformComponent component: any MDLTransformComponent)

Parameters

  • component:

    The component whose transform information is to be copied.

Return Value

A new transform object.

Discussion

Use this method to copy transformation from any object that adopts the MDLTransformComponent protocol (such as another MDLTransform instance).

See Also

Creating a Transform Object