FS Inputs Customize Surface Shader Rendering Debug View Legacy Shader Guide to Built-in Legacy Shaders Legacy Shader Key Functions and Structures Write Shaders 2D Sprite Shader: Gradient 3D Shader: RimLight Instanced Attributes UBO Layout Fallback to WebGL 1.0 VSCode Extension - Cocos Effect Sor...
let subTask = Task.create({input: task.input, options: subOptions}); task.output = task.source = transformPipeline.sync(subTask); transformPipeline管线【准备阶段】 transformPipeline由parse和combine两个管线组成,parse的职责是为每个要加载的资源生成RequestItem对象并初始化其资源信息(AssetInfo、uuid、con...
启动Cocos Creator 报 Error: Can not parse this input:undefined 错误 你可能忘记安装配套的引擎扩展,所以没有找到社区版的内置资源,导致报错,请仔细阅读文档重新安装。 原生平台或模拟器报错:Assertion failed: (_type == Type::String), function toString, file Value.cpp, line 496. 你可能没有替换引擎的 ...
thisArg any The target (this object) to invoke the callback, can be null once boolean - 返回值: TFunction 示例 import { log } from 'cc'; eventTarget.on('fire', function () { log("fire in the hole"); }, node); public off <...
// You can override the _destruct method if you need, for example: _destruct: function () { for (var key in this) { if (this.hasOwnProperty(key)) { switch (typeof this[key]) { case 'string': this[key] = ''; break; case 'object': case 'function': this[key] = null; brea...
deprecated 继承自:SimpleTexture._setRawAsset Deprecated: since v3.5.0, this is an engine private interface that will be removed in the future. 为此资源设置原始文件名。 输入参数 名称类型描述 filename string - inLibrary boolean - 返回值: void Defined in cocos/asset/assets/asset.ts:254 public...
Node name can not include '/'. 1633 Internal error, should not remove unknown node from parent. 1634 addChild: The child to add must be instance of cc.Node, not %s. 1635 reorderChild: this child is not in children list. 1636 Node's zIndex value can't be greater than cc.macro.MAX...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
(); void parseVersion(); void downloadManifest(); void parseManifest(); void startUpdate(); void updateSucceed(); bool decompress(const std::string &filename); void decompressDownloadedZip(const std::string &customId, const std::string &storagePath); /** @brief Update a list of assets ...
FFD is supported in native but not in web, both engine can parse the new version file correctly, but the web engine will ignore FFD informations. * Replaced '==' with '===' for better performance. * Added `path` parameter in `ccs.load` to support modifying cocostudio project ...