大约有 1,869 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0054 秒)
Laya_社区(616) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya3.0_文档(70) Laya2.0_示例(68)
...放射属性。 `enableReflection:Boolean` 是否开启反射。 `metallic:Number` 金属度。 `metallicGlossTexture:BaseTexture` 金属光滑度贴图。 `normalTexture:BaseTexture` 法线贴图。 `normalTextureScale:Number` 法线贴图缩放系数。 `occlusionTexture:BaseTexture` 遮挡贴图...
来源: Laya2.0_文档 发布时间: 20210714
...de_Lighter { // 一只凤凰的分辨率是550 * 400 private phoenixWidth: number = 550; private phoenixHeight: number = 400; private bgColorTweener: Tween = new Tween(); private gradientInterval: number = 2000; private bgColorChannels: any = { r: 99, g: 0, b: 0xFF }; constructor() { // 不支持Web...
来源: Laya_示例 发布时间: 20260106
...Node id : int[read-only] 获取唯一标识ID。 Sprite3D intensity : Number 获取灯光强度。 LightSprite isStatic : Boolean[read-only] 获取是否为静态。 Sprite3D layer : int 获取蒙版。 Sprite3D lightmapBakedType : int 获取灯光烘培类型。 LightSprite LIGHTMAPBAKE...
来源: Laya2.0_api 发布时间: 20190513
....nextSibling) { var id:Number = node.getAttribute("id"); var clip:Clip = new Clip(node.getAttribute("res") as String); clip.anchorX = node.getAttribute("anchorX"...
来源: Laya_社区 发布时间: 20170918
.../** * 绑定 * @param source */ bind(source:BindSource):void{ let index:number=this.__bindList.indexOf(source); if(index<0){ this.__bindList.push(source); } this.addChild(source); this.timer.frameLoop(1,this,this.__updateBinds); } unbind(source:BindSource):void{ let index:number=this.__bind...
来源: Laya_社区 发布时间: 20190805
...de_Lighter { // 一只凤凰的分辨率是550 * 400 private phoenixWidth: number = 550; private phoenixHeight: number = 400; private bgColorTweener: Tween = new Tween(); private gradientInterval: number = 2000; private bgColorChannels: any = { r: 99, g: 0, b: 0xFF }; constructor() { // 不支持Web...
来源: Laya2.0_示例 发布时间: 20260106
...export class Skeleton_SpineVine { private mAniPath:string; private mStartX:number = 200; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmature:Skeleton; private mCurrSkinIndex:number = 0; private mFactory2:Templet; c...
来源: Laya2.0_示例 发布时间: 20260106
...class Skeleton_SpineStretchyman { private mAniPath:string; private mStartX:number = 200; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmature:Skeleton; private mCurrSkinIndex:number = 0; private mFactory2:Templet; c...
来源: Laya2.0_示例 发布时间: 20260106
...需使用getRenderTexture()可开启此属性。 Camera aspectRatio : Number 获取横纵比。 Camera boundFrustum : BoundFrustum[read-only] 获取摄像机视锥。 Camera clearColor : Vector4摄像机的清除颜色,默认颜色为CornflowerBlue。BaseCamera clearFlag : int清楚标记。...
来源: Laya2.0_api 发布时间: 20190513
....x h) { stars[i].y = stars[i].y - h; } else if (stars[i].y = []; private w:number = Browser.width; private h:number = Browser.height; private slideX:number = this.w / 2; private slideY:number = this.h / 2; private speedInfo:Text; constructor() { Laya.init(this.w, this.h, WebGL); this.createText(); t...
来源: Laya2.0_示例 发布时间: 20260106