• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0076 秒)

1041. laya.d3.component.AttachPoint [ 69%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AttachPointProperties | Methods | Events Packagelaya.d3.componentClasspublic class AttachPointInheritanceAttachPoint Component3D EventDispatcher Object AttachPoint 类用于创建挂点组件。 Public Properties Hide I...

来源: laya_api 发布时间: 20170929

1042. LayaAir无法正确识插入别泛型TS代码生成js文件到html中 [ 69%]

...js,这样导致程序初始化报错了。 子类是这样写的 export class LayaHelper<V extends LayaView<IModel>> extends BasicHelper<LayaView<IModel>> 这样LayaHelper的js文件就在比较前面插入了,而BasicHelper.js就在后面插入了 我改成export class L...

来源: Laya_社区 发布时间: 20170208

1043. laya.physics.ChainCollider [ 69%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ChainColliderProperties | Methods Packagelaya.physicsClasspublic class ChainColliderInheritanceChainCollider ColliderBase Component Object 2D线形碰撞体 Public Properties Hide Inherited Public Properties Show Inherit...

来源: Laya2.0_api 发布时间: 20190513

1044. 自定义shader-shader预编译 [ 69%]

...ithShaderDefine(73 - Laya.ShaderCompile3D.SHADERDEFINE_HIGHPRECISION,4,20);class ShaderPrecompile { constructor() { Laya3D.init(0, 0, true); //开启Shader编译调试模式,可在输出宏定义编译值。 Laya.ShaderCompile3D.debugMode = true; var sc: Laya.ShaderCompile3D = Laya.ShaderCompile3D...

来源: Laya_示例 发布时间: 20241002

1045. 骨骼动画进阶(ActionScript-2D进阶篇(AS3)-动画进阶) [ 69%]

...ya.events.Event; import laya.webgl.WebGL; /** * ... * @author ww */ public class SkeletonTempletSample { public var templet:Templet; public function SkeletonTempletSample() { WebGL.enable(); Laya.init(1000, 900); //创建动画模板 templet = new Templet(); templet.on(Event.COMPLETE, this, parseCom...

来源: Laya2.0_文档 发布时间: 20210715

1046. Laya 绑定显示内容到骨骼动画 [ 69%]

...加的内容:   1. 可绑定内容的骨骼动画   export default class BindSkeleton extends Laya.Skeleton { private __bindList:BindSource[]; constructor(){ super(); this.__bindList=[]; }  /** * 绑定 * @param source */ bind(source:BindSource):void{ let index:number=this.__bindList.i...

来源: Laya_社区 发布时间: 20190805

1047. ViewStack属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 69%]

...用请参考 [http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.ui.ViewStack](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.ViewStack)。 ## 2、通过LayaAirIDE创建ViewStack组件 ### 2.1 创建ViewStack页面 ##...

来源: Laya2.0_文档 发布时间: 20210715

1048. laya.d3.math.Viewport [ 69%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ViewportProperties | Methods Packagelaya.d3.mathClasspublic class ViewportInheritanceViewport Object Viewport 类用于创建视口。 Public Properties PropertyDefined By  height : Number高度Viewport  maxDepth : ...

来源: laya_api 发布时间: 20170929

1049. Laya2.2问题,有没有遇到的? [ 69%]

...,有没有遇到的? 子域所有代码 (function () { 'use strict';  class GameConfig { constructor() { } static init() { var reg = Laya.ClassUtils.regClass; } } GameConfig.width = 640; GameConfig.height = 1136; GameConfig.scaleMode = "fixedwidth"; GameConfig.screenMode = "none"; GameConfig.al...

来源: Laya_社区 发布时间: 20200104

1050. 文本-字数限制 [ 69%]

...ya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_MaxChars { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya...

来源: Laya_示例 发布时间: 20241002