GLKEffectPropertyTransform Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/GLKit.framework
Availability
Available in iOS 5.0 and later.
Declared in
GLKEffectPropertyTransform.h

Overview

The GLKEffectPropertyTransform class defines properties that provide the coordinate transformations to be performed when rendering the effect.

Tasks

Configuring Modelview Properties

Configuring the Projection Matrix

Properties

modelviewMatrix

The matrix used to transform position coordinates from world space to eye space.

@property(nonatomic, assign) GLKMatrix4 modelviewMatrix
Availability
  • Available in iOS 5.0 and later.
Declared In
GLKEffectPropertyTransform.h

normalMatrix

The matrix used to transform normal coordinates from world space to eye space. (read-only)

@property(nonatomic, readonly) GLKMatrix3 normalMatrix
Discussion

The normal matrix is derived from the modelviewMatrix property and is automatically calculated when needed.

Availability
  • Available in iOS 5.0 and later.
Declared In
GLKEffectPropertyTransform.h

projectionMatrix

The matrix used to transform position coordinates from eye space to projection space.

@property(nonatomic, assign) GLKMatrix4 projectionMatrix
Discussion

Convenience functions for creating perspective and orthographic projection matrices can be found in GLKMatrix4 Reference.

Availability
  • Available in iOS 5.0 and later.
Declared In
GLKEffectPropertyTransform.h