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

大约有 266 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0047 秒)

131. 对象池 · LayaAir3.0文档 · LAYABOX [ 67%]

...f (instance) { var className: string = instance["__className"] || instance.constructor._$gid; if (className) Pool.recover(className, instance); } } 有了这两种对应的方式,我们可以不用在代码中去关心每个对象的创建和回收,只关心对象的内部逻辑就好了。比...

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

132. laya.d3.resource.TextureCube [ 66%]

...ureproperty public static var grayTexture:TextureCube灰色纯色纹理。Constructor DetailTextureCube()Constructorpublic function TextureCube(format:int, mipmap:Boolean = false) 创建一个 TextureCube 实例。 Parameters format:int (default = NaN) — 贴图格式。  mipmap:Boolean (default ...

来源: Laya2.0_api 发布时间: 20190513

133. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 66%]

...于实现反射探针组件 miner Hierarchy Sprite3D ReflectionProbe Index Constructors constructor Properties _extra _isScene _scene _url name TEMPVECTOR3 defaultTextureHDRDecodeValues Accessors active activeInHierarchy boundsMax boundsMin boxProjection components destroyed displayedInStage hideFla...

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

134. laya.d3.core.material.BaseMaterial [ 66%]

...BlendRGB:intRGB源混合参数,在blend为BLEND_ENABLE_SEPERATE时生效。Constructor DetailBaseMaterial()Constructorpublic function BaseMaterial() 创建一个 BaseMaterial 实例。 Method Detail_addDisablePublicShaderDefine()method protected function _addDisablePublicShaderDefine(value:int):void...

来源: laya_api 发布时间: 20170929

135. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 66%]

...我看一下 xdkaka • 2017-12-13 17:03 没办法发图了 class Main { constructor() { Laya.init(480, 852); Laya.stage.scaleMode = "showall"; Laya.stage.alignV = 'middle'; Laya.stage.alignH = 'center'; Laya.stage.screenMode = "vertical"; Laya.stage.bgColor = "#101825"...

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

136. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 65%]

...rikenParticleSystem ShurikenParticleInstanceSystem Implements IClone Index Constructors constructor Properties _geometryElementOBj autoRandomSeed dragConstant dragSpeedConstantMax dragSpeedConstantMin dragType duration gravityModifier isPerformanceMode looping playOnAwake prewarm randomSeed randomiz...

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

137. laya.d3.core.particleshuriken.ShurikenParticleInstanceSystem_API3.0 [ 65%]

...rikenParticleSystem ShurikenParticleInstanceSystem Implements IClone Index Constructors constructor Properties _geometryElementOBj autoRandomSeed dragConstant dragSpeedConstantMax dragSpeedConstantMin dragType duration gravityModifier isPerformanceMode looping playOnAwake prewarm randomSeed randomiz...

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

138. laya.d3.core.BaseCamera_API3.0 [ 65%]

...于创建摄像机的父类。 Hierarchy Sprite3D BaseCamera Camera Index Constructors constructor Properties _extra _forward _scene _up _url name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDERING WORLDINVERTFRONT Accessors active activeInHierarchy clearColor comp...

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

139. laya.d3.core.material.Material_API3.0 [ 64%]

...aterial ExtendTerrainMaterial WaterPrimaryMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE RENDERQUEUE_TRANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST ...

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

140. laya.d3.core.light.LightSprite_API3.0 [ 64%]

... Hierarchy Sprite3D LightSprite DirectionLight PointLight SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags id intensity is3D layer lightWorldMatrix lightmapBakedTy...

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