大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0066 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...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
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
API DocumentationAll Packages | All Classes | Index | Frames No Frames RopeJointProperties | Methods Packagelaya.physics.jointClasspublic class RopeJointInheritanceRopeJoint JointBase Component Object 绳索关节:限制了两个点之间的最大距离。它能够阻止连接的物体之...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1Properties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1InheritanceVertexPositionNormalTexture0Texture1 ObjectImplements IVertex VertexPositio...
来源: laya_api 发布时间: 20170929
...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
...加的内容: 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
...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_示例 发布时间: 20250223
...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
API DocumentationAll Packages | All Classes | Index | Frames No Frames WeldJointProperties | Methods Packagelaya.physics.jointClasspublic class WeldJointInheritanceWeldJoint JointBase Component Object 焊接关节:焊接关节的用途是使两个物体不能相对运动,受到关节的...
来源: Laya2.0_api 发布时间: 20190513
...会报错说_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