大约有 1,763 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)
Laya_社区(623) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(85) Laya2.0_api(67) laya_api(64)
...e(this.rotation, false); earth2.transform.rotate(this.rotation, false); });class BlinnPhong_DiffuseMap { private rotation: Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NON...
来源: Laya_示例 发布时间: 20251130
...导在ios浏览器表现异常 代码: module laya { export class Sprite_Guide { private width = 750; private height = 1334; constructor() { Laya3D.init(this.width, this.height); ...
来源: Laya_社区 发布时间: 20200119
...r.window.conch.setFontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprit...
来源: Laya_社区 发布时间: 20190523
...Only exported Menu Globals "laya/particle/ParticleSetting" ParticleSetting Class ParticleSetting ParticleSettings 类是粒子配置数据类 Hierarchy ParticleSetting Index Properties ageAddScale blendState boxEmitterCenterPosition boxEmitterSize boxEmitterVelocity boxEmitterVelocityAddVariance col...
来源: Laya3.0_api 发布时间: 20231115
...候使用的是以下方法: public static function getPublicVarNameList($class:Class):Vector.<String> { var vt:Vector.<String> = new Vector.<String>(); var classXml:XML=describeType($class); var variableXmlList:* = classXml["factory"][0]["variable"]; ...
来源: Laya_社区 发布时间: 20180329
...s Only exported Menu Globals "laya/d3/core/render/command/Command" Command Class Command Command 类用于创建指令。 Hierarchy Command BlitScreenQuadCMD DrawRenderCMD DrawMeshInstancedCMD Index Constructors constructor Methods recover run setContext Constructors constructor new Command(): Comma...
来源: Laya3.0_api 发布时间: 20231115
...aya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Restrict { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 300, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SH...
来源: Laya_示例 发布时间: 20251130
...aya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Timer_CallLater { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; La...
来源: Laya_示例 发布时间: 20251130
...ewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </summary&...
来源: Laya_社区 发布时间: 20190224
...on, _quaternion, _position); pointLight.transform.position = _position; });class PointLightDemo { private scene: Laya.Scene; private _position: Laya.Vector3; private _quaternion: Laya.Quaternion; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screen...
来源: Laya_示例 发布时间: 20251130