#import <UIKit/UIKit.h>
@class ViewController;
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) ViewController *viewController;
@end
没有合适的资源?快使用搜索试试~ 我知道了~
CATransform3D中m34值的测试
共18个文件
png:4个
m:3个
h:2个
5星 · 超过95%的资源 需积分: 10 27 下载量 72 浏览量
2013-07-18
14:18:45
上传
评论
收藏 381KB ZIP 举报
温馨提示
CATransform3D中m34值的设定一直不太理解。工作中用到就好好学习了下。原来m34值必须是在 在绕x轴旋转或y轴旋转后,才会有效果,否则是看不出效果的。 而且如下,m34的设置必须在旋转之前才有效。例子很简单,象试一下的可下载看一下。 CATransform3D transform2 = CATransform3DIdentity; //.m行一定要写在CATransform3DRotate的前面! transform2.m34 = -1/2000.0; // 透视效果 transform2 = CATransform3DRotate(transform2,(M_PI/180*50), 0, 1, 0); [m34View.layer setTransform:transform2];
资源推荐
资源详情
资源评论
收起资源包目录
TestM34.zip (18个子文件)
TestM34
TestM34
main.m 209B
TestM34-Info.plist 1KB
ViewController.m 2KB
AppDelegate.h 229B
resources
test@2x.png 348KB
TestM34-Prefix.pch 317B
Default@2x.png 16KB
AppDelegate.m 485B
Default.png 6KB
Default-568h@2x.png 18KB
ViewController.h 78B
en.lproj
InfoPlist.strings 45B
TestM34.xcodeproj
project.xcworkspace
contents.xcworkspacedata 152B
xcuserdata
gaoyp.xcuserdatad
UserInterfaceState.xcuserstate 22KB
project.pbxproj 13KB
xcuserdata
gaoyp.xcuserdatad
xcschemes
xcschememanagement.plist 479B
TestM34.xcscheme 3KB
xcdebugger
Breakpoints.xcbkptlist 91B
共 18 条
- 1
资源评论
- HAN155161902412015-11-03代码不多,简单易懂
gaoyp
- 粉丝: 42
- 资源: 42
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功