大约有 1,261 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0046 秒)
Laya3.0_api(409) Laya_社区(375) Laya2.0_api(226) laya_api(168) Laya2.0_文档(49) Laya3.0_文档(24) Laya2.0_示例(7) Laya_示例(3)
...。LayoutStylePublic Constants ConstantDefined By EMPTY : LayoutStyle[static] 一个已初始化的 LayoutStyle 实例。LayoutStyleProperty DetailanchorXpropertypublic var anchorX:Number = NaNX锚点,值为0-1。anchorYproperty public var anchorY:Number = NaNY锚点,值为0-1。bottomprope...
来源: laya_api 发布时间: 20170929
...efined in laya/display/cmd/DrawLinesCmd.ts:18 开始绘制的Y轴位置。 Static ID ID: string = "DrawLines" Defined in laya/display/cmd/DrawLinesCmd.ts:9 Methods recover recover(): void Defined in laya/display/cmd/DrawLinesCmd.ts:47 回收到对象池 Returns void Globals "laya/display/cmd/DrawLin...
来源: Laya3.0_api 发布时间: 20231115
...efined in laya/display/cmd/DrawImageCmd.ts:23 (可选)Y轴偏移量。 Static ID ID: string = "DrawImage" Defined in laya/display/cmd/DrawImageCmd.ts:10 Methods recover recover(): void Defined in laya/display/cmd/DrawImageCmd.ts:63 回收到对象池 Returns void Globals "laya/display/cmd/DrawIm...
来源: Laya3.0_api 发布时间: 20231115
...在项目中设置项目的横竖屏显示: /**自动横屏。*/ public static const SCREEN_HORIZONTAL:String = "horizontal"; /**自动竖屏。*/ public static const SCREEN_VERTICAL:String = "vertical";2、在html文件下修改meta标签实现浏览器的横竖屏显示,具体参数可以通...
来源: Laya_社区 发布时间: 20160825
...cted All Inherited Externals Only exported Menu Globals "laya/d3/component/staticmesh/StaticBatchMesh" StaticBatchMesh Class StaticBatchMesh Hierarchy StaticBatchMesh Index Constructors constructor Properties bounds Methods destroy setBuffer create Constructors constructor new StaticBatchMesh(): Sta...
来源: Laya3.0_api 发布时间: 20231115
...stancePropertyBlock.ts:33 Returns MaterialInstancePropertyBlock Properties Static INSTANCETYPE_ATTRIBUTE INSTANCETYPE_ATTRIBUTE: number = 0 Defined in laya/d3/core/render/command/MaterialInstancePropertyBlock.ts:23 attribute instance渲染方案 优点:合并数量多,合并效率高,渲染性...
来源: Laya3.0_api 发布时间: 20231115
...安装,这样只需要访问apk就可以解决了,安装apk: public static boolean install(Context context, String filePath) { Intent i = new Intent(Intent. ACTION_VIEW); File file = new File(filePath); if (file != null && file.length() > 0 && file.exists() && file.i...
来源: Laya_社区 发布时间: 20160104
... time time: number Defined in laya/components/KeyFrame2D.ts:28 时间。 Static defaultWeight defaultWeight: number = 0.33333 Defined in laya/components/KeyFrame2D.ts:26 Methods clone clone(): Keyframe2D Defined in laya/components/KeyFrame2D.ts:34 Returns Keyframe2D cloneTo cloneTo(destObject: any):...
来源: Laya3.0_api 发布时间: 20231115
...n image; } </script>2. 在 as 代码中加入如下函数: private static var createTextureCallBack:Function; public static function createTexture(s:Sprite,callback:Function,callbackThis:Object):void{ createTextureCallBack = callback; var htmlCanvas:HTMLCanvas = s.drawToCanvas(512,512,0,0); ...
来源: Laya_社区 发布时间: 20170718
...辑时间管理器的引用,不允许缩放。*/ public static var timer:Timer = null; /** 表现时间管理器,可以用来控制渲染表现,可以通过scale缩放,来表现慢镜头*/ public static var scaleTimer:Timer = null; 试一下...
来源: Laya_社区 发布时间: 20180211