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

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

51. laya.ui.Label_API3.0 [ 60%]

...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var label:Label = new Label();//创建一个 Label 类的实例对象 label 。 label.font = "Arial";//设置 label 的字体。 ...

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

52. laya.ui.TextArea_API3.0 [ 58%]

...Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textArea:TextArea = new Tex...

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

53. laya.ui.TextInput_API3.0 [ 58%]

...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/input.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete():void { var textInput:TextInput = new T...

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

54. laya.d3.core.Camera_API3.0 [ 56%]

...essors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor clientHeight clientWidth components cullingMask depthTextureFormat depthTextureMode destroyed displayedInStage enableBlitDepth enableBuiltInRenderTexture enableHDR farPlane fieldOfView fxaa hideFlags id is3D layer maxlo...

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

55. laya.d3.webxr.core.WebXRCamera_API3.0 [ 55%]

...essors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor components cullingMask depthTextureFormat depthTextureMode destroyed displayedInStage enableBlitDepth enableBuiltInRenderTexture enableHDR farPlane fieldOfView fxaa hideFlags id is3D layer maxlocalYDistance msaa nearPla...

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

56. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 53%]

...getComponent(Laya.MeshRenderer).material as Laya.BlinnPhongMaterial).albedoColor = new Laya.Color(0.0, 1.0, 0.0, 1.0);//绿色 } /** * 发生持续物理碰撞时的3D物理碰撞器事件(不适用2D),也就是碰撞生命周期内的第二次碰撞到碰撞结束前,每帧都在触发调...

来源: Laya3.0_文档 发布时间: 20251010

57. laya.ui.ColorPicker_API3.0 [ 53%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ColorPicker" ColorPicker Class ColorPicker ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 example 以下示例代码,创建了一个 ColorPicker 实例。 package { import l...

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

58. laya.display.Text_API3.0 [ 51%]

...a.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; te...

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

59. laya.d3.core.scene.Scene3D_API3.0 [ 49%]

...rs GIRotate _isHeightSet _isWidthSet active activeInHierarchy alpha ambientColor ambientIntensity ambientMode ambientSH anchorX anchorY blendMode cacheAs components cullInfoCamera cullPass customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize enableFog filters fog...

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

60. laya.ui.Image_API3.0 [ 48%]

...Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { var bg:Image = new Image("resource/ui/bg.png");//创建一个 Image 类的实例对象 bg ,并传入它的皮肤。 bg.x = 100;//...

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