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

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

1071. 文本基础样式(TypeScript-LayaAir基础篇(TS)-文本) [ 68%]

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

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

1072. laya.d3.physics.PhysicsTriggerComponent [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PhysicsTriggerComponentProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsTriggerComponentInheritancePhysicsTriggerComponent PhysicsComponent Component ObjectSubclasses PhysicsCollider, Rigidbody3D Physi...

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

1073. laya.physics.joint.RopeJoint [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames RopeJointProperties | Methods Packagelaya.physics.jointClasspublic class RopeJointInheritanceRopeJoint JointBase Component Object 绳索关节:限制了两个点之间的最大距离。它能够阻止连接的物体之...

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

1074. laya.d3.graphics.VertexPositionNormalTexture0Texture1 [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1Properties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1InheritanceVertexPositionNormalTexture0Texture1 ObjectImplements IVertex VertexPositio...

来源: laya_api 发布时间: 20170929

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

...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

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

...加的内容:   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

1077. 自定义shader-shader预编译 [ 68%]

...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_示例 发布时间: 20241001

1078. 能不能让LayaFlash支持原生的条件编译 [ 68%]

...n.swf", mimeType="application/octet-stream")]     private const _Ui_SWF:Class;   } CONFIG::en{     [Embed(source="ui_en.swf", mimeType="application/octet-stream")]     private const _Ui_SWF:Class; } 3.这样就表示英文版本我只嵌入英文的ui_en.swf 如果使用现有的宏编译...

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

1079. laya.physics.joint.WeldJoint [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames WeldJointProperties | Methods Packagelaya.physics.jointClasspublic class WeldJointInheritanceWeldJoint JointBase Component Object 焊接关节:焊接关节的用途是使两个物体不能相对运动,受到关节的...

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

1080. TiledMap,mapLayer追加精灵无法显示,已参考完已有问题解答,无法解决 [ 68%]

...会报错说_showGridList不存在,需要在libs/LayaAir.d.ts里,找到class MapLayer extends Sprite这一行,在下面加上一行代码: class MapLayer extends Sprite { _mapData: Array<any>; /** * @private */ _gridSpriteArray: Array<any>; _showGridList: Array<any>; //这...

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