Instance Method

initWithTransformComponent:

Initializes a transform object to match the specified transform component.

Declaration

- (instancetype)initWithTransformComponent:(id<MDLTransformComponent>)component;

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

- initWithIdentity

Initializes a transform object to the identity transformation.

Deprecated
- initWithMatrix:

Initializes a transform object with the specified transform matrix.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software