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

大约有 1,106 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0073 秒)

941. laya.ani.bone.Skeleton_API3.0 [ 38%]

...imationPlayer,Skeleton三部分组成。 Hierarchy Sprite Skeleton Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniM...

来源: Laya3.0_api 发布时间: 20231115

942. 鼠标交互-Hold [ 38%]

...hold事件时间为1秒 private ape: Sprite; private isApeHold: Boolean; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "show...

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

943. laya.ui.WXOpenDataViewer_API3.0 [ 38%]

...方式显示开放域数据 Hierarchy UIComponent WXOpenDataViewer Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX ce...

来源: Laya3.0_api 发布时间: 20231102

944. laya.media.VideoNode_API3.0 [ 38%]

...lla.org/en-US/docs/Web/HTML/Element/video Hierarchy Sprite VideoNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blen...

来源: Laya3.0_api 发布时间: 20231115

945. 缓动-时间线 [ 38%]

...eLine { private target:Sprite; private timeLine:TimeLine = new TimeLine(); constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgCo...

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

946. laya.ui.UIComponent_API3.0 [ 38%]

...Slider ScrollBar ComboBox ProgressBar TipManager OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blen...

来源: Laya3.0_api 发布时间: 20231115

947. 继承自Laya.BaseMaterial并且自定义Shader的的自定义材质如何设置透明渲染 [ 38%]

...inTex : number; public static _mainCol : number; inited : boolean = false; constructor() { super(); if(!this.inited) { CMat._mainTex = Laya.Shader3D.propertyNameToID("u_MainTex"); CMat._mainCol = Laya.Shader3D.propertyNameToID("u_MainCol"); CMat.initShader(); this.inited = true; } this.setShaderName...

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

948. 【LIST无法拖动】参照官方实例做的 [ 38%]

...private text_guanqia_info: Text;      private img: Image;     constructor(){         super();         this.size(Item.WID, Item.HEI);         this.img = new Image();         this.img.width = 200;         this.img.height = 200;       ...

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

949. 物理引擎-布 [ 38%]

...wser.window.LayaRender; private mouseConstraint: any; private engine: any; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(this.stageWidth, this.stageHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; ...

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

950. 照相机-3D空间转2D空间 [ 38%]

...ya.Vector3; private _outPos: Laya.Vector3; private scaleDelta: number = 0; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this._...

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