大约有 1,204 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0050 秒)
Laya_社区(690) Laya_示例(137) Laya2.0_文档(123) Laya2.0_示例(116) Laya3.0_文档(59) Laya3.0_api(39) laya_api(29) Laya2.0_api(11)
...er = Laya.Handler; import WebGL = Laya.WebGL; export class Filters_Color { private ApePath: string = "../../res/apes/monkey2.png"; private apeTexture: Texture; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = S...
来源: Laya_示例 发布时间: 20241123
...new Laya.Vector3(0, 90, 0), false, false); } }); })();class RayPicking02 { private ray: Laya.Ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); private point: Laya.Vector2 = new Laya.Vector2(); private _outHitInfo: Laya.RaycastHit = new Laya.RaycastHit(); private _position: La...
来源: Laya_示例 发布时间: 20241123
...er = Laya.Handler; import WebGL = Laya.WebGL; export class Filters_Color { private ApePath: string = "res/apes/monkey2.png"; private apeTexture: Texture; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.A...
来源: Laya2.0_示例 发布时间: 20241123
...aya.loader.load(this.skins, Handler.create(this, this.initRadioGroups)); } private initRadioGroups(): void { for (var i: number = 0; i < this.skins.length; ++i) { var rg: RadioGroup = this.createRadioGroup(this.skins[i]); rg.selectedIndex = i; rg.x = i * this.SPACING + this.X_OFFSET; rg.y = this.Y_O...
来源: Laya_示例 发布时间: 20241123
...aya.loader.load(this.skins, Handler.create(this, this.initRadioGroups)); } private initRadioGroups(): void { for (var i: number = 0; i < this.skins.length; ++i) { var rg: RadioGroup = this.createRadioGroup(this.skins[i]); rg.selectedIndex = i; rg.x = i * this.SPACING + this.X_OFFSET; rg.y = this.Y_O...
来源: Laya2.0_示例 发布时间: 20241123
...dler; import laya.utils.Stat; import laya.webgl.WebGL; public class Main { private var _tex:Texture; private var _htmlCanvas:HTMLCanvas; private var _colorSpr:Sprite; private var _colorTex:Texture; private var _initPixelCount:int; public function Main() { Laya.init(1024, 768, WebGL); Stat.show(0, 0)...
来源: Laya_社区 发布时间: 20180302
...er = Laya.Browser; import WebGL = Laya.WebGL; export class Animation_SWF { private SWFPath: string = "../../res/swf/dragon.swf"; private MCWidth: number = 318; private MCHeight: number = 406; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeigh...
来源: Laya_示例 发布时间: 20241123
...DialogUI; import ui.TestViewUI; public class TestView extends TestViewUI { private var PATH_LEN:Number = 120.0; private var speed:Number = 15; private var _path:Sprite = new Sprite(); private var _path2:Sprite = new Sprite(); private var arr:Array = ; private var arr2:Array = ; private var pop:TestD...
来源: Laya_社区 发布时间: 20171129
...er; import laya.utils.Stat; import laya.webgl.WebGL; public class ASDemo { private var mAniPath:String; private var mFactory:Templet; private var mCurrIndex:int = 0; private var mArmature:Skeleton; public function ASDemo() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColo...
来源: Laya_社区 发布时间: 20170406
...er = Laya.Browser; import WebGL = Laya.WebGL; export class Animation_SWF { private SWFPath: string = "res/swf/dragon.swf"; private MCWidth: number = 318; private MCHeight: number = 406; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, Web...
来源: Laya2.0_示例 发布时间: 20241123