C# Класс Monobjc.QuartzCore.CATransform3D

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CATransform3DGetAffineTransform ( CATransform3D t ) : CGAffineTransform

Returns the affine transform represented by 't'. If 't' can not be exactly represented as an affine transform the returned value is undefined.

Original signature is : CGAffineTransform CATransform3DGetAffineTransform (CATransform3D t);

Available in Mac OS X version 10.5 and later.

Concat ( CATransform3D a, CATransform3D b ) : CATransform3D

Concatenate 'b' to 'a' and return the result: t' = a * b.

Original signature is : CATransform3D CATransform3DConcat (CATransform3D a, CATransform3D b);

Available in Mac OS X version 10.5 and later.

EqualToTransform ( CATransform3D a, CATransform3D b ) : bool

Returns a Boolean value that indicates whether the two transforms are exactly equal.

Original signature is : bool CATransform3DEqualToTransform (CATransform3D a, CATransform3D b);

Available in Mac OS X version 10.5 and later.

Invert ( CATransform3D t ) : CATransform3D

Invert 't' and return the result. Returns the original matrix if 't' has no inverse.

Original signature is : CATransform3D CATransform3DInvert (CATransform3D t);

Available in Mac OS X version 10.5 and later.

IsAffine ( CATransform3D t ) : bool

Returns true if 't' can be exactly represented by an affine transform.

Original signature is : bool CATransform3DIsAffine (CATransform3D t);

Available in Mac OS X version 10.5 and later.

IsIdentity ( CATransform3D t ) : bool

Returns a Boolean value that indicates whether the transform is the identity transform.

Original signature is : bool CATransform3DIsIdentity (CATransform3D t);

Available in Mac OS X version 10.5 and later.

Make ( CGAffineTransform m ) : CATransform3D

Return a transform with the same effect as affine transform 'm'.

Original signature is : CATransform3D CATransform3DMakeAffineTransform (CGAffineTransform m)

Available in Mac OS X version 10.5 and later.

MakeRotation ( float angle, float x, float y, float z ) : CATransform3D

Returns a transform that rotates by 'angle' radians about the vector '(x, y, z)'. If the vector has length zero the identity transform is returned.

Original signature is : CATransform3D CATransform3DMakeRotation (CGFloat angle, CGFloat x, CGFloat y, CGFloat z);

Available in Mac OS X version 10.5 and later.

MakeScale ( float sx, float sy, float sz ) : CATransform3D

Returns a transform that scales by `(sx, sy, sz)': * t' = [sx 0 0 0; 0 sy 0 0; 0 0 sz 0; 0 0 0 1].

Original signature is : CATransform3D CATransform3DMakeScale (CGFloat sx, CGFloat sy, CGFloat sz);

Available in Mac OS X version 10.5 and later.

MakeTranslation ( float tx, float ty, float tz ) : CATransform3D

Returns a transform that translates by '(tx, ty, tz)'. t' = [1 0 0 0; 0 1 0 0; 0 0 1 0; tx ty tz 1].

Original signature is : CATransform3D CATransform3DMakeTranslation (CGFloat tx, CGFloat ty, CGFloat tz)

Available in Mac OS X version 10.5 and later.

Rotate ( CATransform3D t, float angle, float x, float y, float z ) : CATransform3D

Rotate 't' by 'angle' radians about the vector '(x, y, z)' and return the result. If the vector has zero length the behavior is undefined: t' = rotation(angle, x, y, z) * t.

Original signature is : CATransform3D CATransform3DRotate (CATransform3D t, CGFloat angle, CGFloat x, CGFloat y, CGFloat z)

Available in Mac OS X version 10.5 and later.

Scale ( CATransform3D t, float sx, float sy, float sz ) : CATransform3D

Scale 't' by '(sx, sy, sz)' and return the result: * t' = scale(sx, sy, sz) * t.

Original signature is : CATransform3D CATransform3DScale (CATransform3D t, CGFloat sx, CGFloat sy, CGFloat sz)

Available in Mac OS X version 10.5 and later.

Translate ( CATransform3D t, float tx, float ty, float tz ) : CATransform3D

Translate 't' by '(tx, ty, tz)' and return the result: * t' = translate(tx, ty, tz) * t.

Original signature is : CATransform3D CATransform3DTranslate (CATransform3D t, CGFloat tx, CGFloat ty, CGFloat tz);

Available in Mac OS X version 10.5 and later.

Описание методов

CATransform3DGetAffineTransform() публичный статический Метод

Returns the affine transform represented by 't'. If 't' can not be exactly represented as an affine transform the returned value is undefined.

Original signature is : CGAffineTransform CATransform3DGetAffineTransform (CATransform3D t);

Available in Mac OS X version 10.5 and later.

public static CATransform3DGetAffineTransform ( CATransform3D t ) : CGAffineTransform
t CATransform3D
Результат Monobjc.ApplicationServices.CGAffineTransform

Concat() публичный статический Метод

Concatenate 'b' to 'a' and return the result: t' = a * b.

Original signature is : CATransform3D CATransform3DConcat (CATransform3D a, CATransform3D b);

Available in Mac OS X version 10.5 and later.

public static Concat ( CATransform3D a, CATransform3D b ) : CATransform3D
a CATransform3D
b CATransform3D
Результат CATransform3D

EqualToTransform() публичный статический Метод

Returns a Boolean value that indicates whether the two transforms are exactly equal.

Original signature is : bool CATransform3DEqualToTransform (CATransform3D a, CATransform3D b);

Available in Mac OS X version 10.5 and later.

public static EqualToTransform ( CATransform3D a, CATransform3D b ) : bool
a CATransform3D
b CATransform3D
Результат bool

Invert() публичный статический Метод

Invert 't' and return the result. Returns the original matrix if 't' has no inverse.

Original signature is : CATransform3D CATransform3DInvert (CATransform3D t);

Available in Mac OS X version 10.5 and later.

public static Invert ( CATransform3D t ) : CATransform3D
t CATransform3D
Результат CATransform3D

IsAffine() публичный статический Метод

Returns true if 't' can be exactly represented by an affine transform.

Original signature is : bool CATransform3DIsAffine (CATransform3D t);

Available in Mac OS X version 10.5 and later.

public static IsAffine ( CATransform3D t ) : bool
t CATransform3D
Результат bool

IsIdentity() публичный статический Метод

Returns a Boolean value that indicates whether the transform is the identity transform.

Original signature is : bool CATransform3DIsIdentity (CATransform3D t);

Available in Mac OS X version 10.5 and later.

public static IsIdentity ( CATransform3D t ) : bool
t CATransform3D
Результат bool

Make() публичный статический Метод

Return a transform with the same effect as affine transform 'm'.

Original signature is : CATransform3D CATransform3DMakeAffineTransform (CGAffineTransform m)

Available in Mac OS X version 10.5 and later.

public static Make ( CGAffineTransform m ) : CATransform3D
m Monobjc.ApplicationServices.CGAffineTransform
Результат CATransform3D

MakeRotation() публичный статический Метод

Returns a transform that rotates by 'angle' radians about the vector '(x, y, z)'. If the vector has length zero the identity transform is returned.

Original signature is : CATransform3D CATransform3DMakeRotation (CGFloat angle, CGFloat x, CGFloat y, CGFloat z);

Available in Mac OS X version 10.5 and later.

public static MakeRotation ( float angle, float x, float y, float z ) : CATransform3D
angle float
x float
y float
z float
Результат CATransform3D

MakeScale() публичный статический Метод

Returns a transform that scales by `(sx, sy, sz)': * t' = [sx 0 0 0; 0 sy 0 0; 0 0 sz 0; 0 0 0 1].

Original signature is : CATransform3D CATransform3DMakeScale (CGFloat sx, CGFloat sy, CGFloat sz);

Available in Mac OS X version 10.5 and later.

public static MakeScale ( float sx, float sy, float sz ) : CATransform3D
sx float
sy float
sz float
Результат CATransform3D

MakeTranslation() публичный статический Метод

Returns a transform that translates by '(tx, ty, tz)'. t' = [1 0 0 0; 0 1 0 0; 0 0 1 0; tx ty tz 1].

Original signature is : CATransform3D CATransform3DMakeTranslation (CGFloat tx, CGFloat ty, CGFloat tz)

Available in Mac OS X version 10.5 and later.

public static MakeTranslation ( float tx, float ty, float tz ) : CATransform3D
tx float
ty float
tz float
Результат CATransform3D

Rotate() публичный статический Метод

Rotate 't' by 'angle' radians about the vector '(x, y, z)' and return the result. If the vector has zero length the behavior is undefined: t' = rotation(angle, x, y, z) * t.

Original signature is : CATransform3D CATransform3DRotate (CATransform3D t, CGFloat angle, CGFloat x, CGFloat y, CGFloat z)

Available in Mac OS X version 10.5 and later.

public static Rotate ( CATransform3D t, float angle, float x, float y, float z ) : CATransform3D
t CATransform3D
angle float
x float
y float
z float
Результат CATransform3D

Scale() публичный статический Метод

Scale 't' by '(sx, sy, sz)' and return the result: * t' = scale(sx, sy, sz) * t.

Original signature is : CATransform3D CATransform3DScale (CATransform3D t, CGFloat sx, CGFloat sy, CGFloat sz)

Available in Mac OS X version 10.5 and later.

public static Scale ( CATransform3D t, float sx, float sy, float sz ) : CATransform3D
t CATransform3D
sx float
sy float
sz float
Результат CATransform3D

Translate() публичный статический Метод

Translate 't' by '(tx, ty, tz)' and return the result: * t' = translate(tx, ty, tz) * t.

Original signature is : CATransform3D CATransform3DTranslate (CATransform3D t, CGFloat tx, CGFloat ty, CGFloat tz);

Available in Mac OS X version 10.5 and later.

public static Translate ( CATransform3D t, float tx, float ty, float tz ) : CATransform3D
t CATransform3D
tx float
ty float
tz float
Результат CATransform3D