Commit Graph

26 Commits

Author SHA1 Message Date
pandamicro b162e21a93 Update license and API language declaration (#7750)
* Update licenses

* Update license for audio

* Update license for core/3d

* Update license for animation, assets, asset-manager, components, data

* update license for event, geometry, gfx

* update license for core modules

math, memop, pipeline, platform, primitive, renderer, scene-graph, utils, value-types

* Update license for core

* Update license for particle and particle-2d

* Update license for particle part2

* Update license for physics and physics-2d

* Update license for all modules in cocos

* Update license for exports

* Fix API doc language declaration
2020-11-10 17:36:31 +08:00
Yun Hsiao Wu 32598c25cb switch to eslint (#7727)
* switch to eslint

* eslint: extends airbnb
2020-11-09 10:19:12 +08:00
JoneLau 351b6480e4 add image stencil in mask (#7598)
* add image stencil in mask

* update
2020-10-28 12:13:53 +08:00
ChiaNing 15a1806d18 API doc format change (#7456) 2020-09-28 16:52:52 +08:00
Leslie Leigh (李的序) 4e56acb851 Fix missed cc.* (#7282)
* Fix missed `cc.*`

* Fix
2020-09-02 19:04:38 +08:00
pandamicro 3240dba206 Component rename for new standard and 2d compatibility (#7103)
* Rename ui related components

* Rename files

* Remove Useless errors

* Fix sealed names

* Fix sealed global variables

* Fix circular reference

* Refactor more component names

* Rename particle and animation related component

* export scene and models sub module in renderer

* Rename ModelComponents to Model

* Refactor LightComponents to Light

* Refactor CameraComponent to Camera

* Refactor ConstraintComponents to Constraint and rename physics comps

* Cleanup and fix issues

* Small fixes

* Refactor Model to MeshRenderer

* Final touch

* Fix data class export

* Better deprecation to cover all old usage

* Simpler and better deprecation with js.setClassAlias

* Fix ci

* Fix editor issue
2020-09-02 15:31:49 +08:00
Leslie Leigh (李的序) bc5b531191 Add decorator @editable @serializable (#7178) 2020-09-02 11:44:12 +08:00
Leslie Leigh (李的序) 4f2eff842d Full optimize decorators (#7166)
* Full optimize decorators

* Conflicts

* Rename immutable -> readOnly

* Update

* Update

* Update
2020-08-18 19:10:34 +08:00
Yun Hsiao Wu 33c3c841d7 fix material hash calculation (#6933) 2020-06-28 11:55:21 +08:00
Leslie Leigh (李的序) c9462d94a5 Typo (#6621) 2020-04-28 14:48:48 +08:00
Yun Hsiao Wu 9925844829 better docs (#6496) 2020-04-07 11:36:12 +08:00
Yun Hsiao Wu a07ddb4bb1 Frame ID should be synced regardless of dirty flag (#6321) 2020-03-12 19:17:15 +08:00
Leslie Leigh (李的序) 284aa38d25 Build time constants (#6256)
* consts

* Bump @cocos/build-engine version

* Fix

* Upload @cocos/build-engine

* Rm scripts/build-engine/.gitignore
2020-03-11 14:05:22 +08:00
Yun Hsiao Wu edd1189518 flexible skinning model (#6131)
* flexible skinning model

* skinning shader works on non-skinning models

* more opts

* UBO default values

* more opts

* update default joint

* more opts

* more opts

* unified skeletal animation component

* misc opts

* fix batched skinning model

* fix mesh interfaces

* texture buffer pool alignment

* move switch to skeletal animation component

* in-shader joint offset

* minor
2020-02-26 11:32:38 +08:00
Yun Hsiao Wu c1c1a82946 API docs (#6174)
* API docs

* wording & tooltip

* update material
2020-02-21 10:20:29 +08:00
zxg0622 395ab9fb41 fix some bug (#5974) 2019-12-26 16:59:47 +08:00
zxg0622 39a7fbdd89 refactor material instance (#5910)
* refactor material instance

* revert setMaterial signature

* fix some defects

* material instance using inheritance (#5)

* material instance using inheritance

* renderable component

* more fixes (#6)

* more fixes

* minor

* fix some defects

* fix batching (#7)

* better format (#8)

* fix

* fix batching & skybox (#9)

* fix skinning (#10)

* change sharedMaterial decorator

* add modelcomponent property deprecated

Co-authored-by: Yun Hsiao Wu <inheritorofgalaxy@gmail.com>
2019-12-25 17:41:04 +08:00
pandamicro 802d7a9b49 Merge branch '3d-v1.0.2' into 3d
# Conflicts:
#	cocos/core/components/ui-base/canvas-component.ts
#	cocos/core/components/ui-base/ui-render-component.ts
#	cocos/core/game.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/render-flow.ts
#	cocos/core/pipeline/render-pipeline.ts
#	cocos/core/root.ts
#	cocos/core/scene-graph/base-node.ts
2019-12-03 19:23:26 +08:00
zheng han 096c949807 change animatable property from sharedMaterials to materials (#5789) 2019-12-02 10:36:02 +08:00
zxg0622 cda23e5c14 refactor model allocation logic (#5689)
* refactor model allocation logic

* fix ts null check

* fix particle system decorator
2019-11-23 18:28:28 +08:00
Yun Hsiao Wu f7f6193f26 skinning model bounds (#5743)
* first try: skeleton bounds with scaling

* second try: bone space per joint bounds

* rendering data pool manager

* shadow culling

* better identity joint texture handle allocation

* fix batched skinning model material lost

after quitting animation editor

* unify local ubo binding
2019-11-19 18:13:49 +08:00
ftershock fc359c8a7a add tooltip (#5663)
* Add tooltip

* add tooltip

* update spriteatlas

* add changeSpriteFrameFromAtlas
2019-11-06 18:30:12 +08:00
zxg0622 4ce31e98d3 add trail to uimodel (#5617) 2019-10-28 11:50:14 +08:00
ChiaNing fc03c46cb3 layer bitmask change (#5429)
* layer bitmask change

* name change
2019-09-20 13:57:55 +08:00
Yun Hsiao Wu 0d4bf98f61 wx audio global callbacks (#5310)
* some linter fix

* wx audio global callbacks
2019-09-02 04:30:08 -05:00
pandamicro 9f89b0ef24 New module division (#5285)
* Temp

* temp

* move ui core

* Arrange ui and terrain

* Fix import path for all modules except core

* Move primitives into core

* Fix debug.getError

* Move audio-downloader to audio module

* export game from game.ts

* Migrate load-pipeline to ts

* Fix core modules and cleanup

* Move animation into core

* Fix module exports

* Fix director issue

* Remove most cc.director usage

* Fix ts issues

* Fix issues for unit test and editor running

* Revert removing deprecated import

* tweaks

* tweaks

* Fix ci

* Fix ci

* Add modules in module division

* Upgrade coordinates-converts-utils
2019-08-30 11:35:22 +08:00