大约有 266 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0047 秒)
...f (instance) { var className: string = instance["__className"] || instance.constructor._$gid; if (className) Pool.recover(className, instance); } } 有了这两种对应的方式,我们可以不用在代码中去关心每个对象的创建和回收,只关心对象的内部逻辑就好了。比...
来源: Laya3.0_文档 发布时间: 20230303
...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
...于实现反射探针组件 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
...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
...我看一下 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
...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
...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
...于创建摄像机的父类。 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
...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
... 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