aster2013
|
35735b11d3
Remove unused code, rename DefaultMaterial to Material.
|
11 years ago |
aster2013
|
511d6f461f
Remove custom material from Drawable2D, Renderer2D will get all Drawable2D when HandleBeginViewUpdate.
|
11 years ago |
aster2013
|
fb07e32cdd
Remove Sprite2D from Drawable2D, make Drawable2D more general.
|
11 years ago |
aster2013
|
aaa792609a
Combine DrawableProxy2D and MaterialCache2D in to Renderer2D.
|
11 years ago |
aster2013
|
7e46f0c862
Add MIXED_ACCESSOR_ATTRIBUTE.
|
11 years ago |
aster2013
|
a47c9ebe32
Add visibility property in Drawable2D.[ci skip]
|
11 years ago |
aster2013
|
252375abc1
Add material compare in Drawable2D.
|
11 years ago |
aster2013
|
077df45dc0
Reorder functions in DrawableProxy2D.
|
11 years ago |
aster2013
|
623fab0e16
Fix CompareDrawable2Ds.
|
11 years ago |
aster2013
|
c31637ed43
Add batch rendering for all 2D objects.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
33312cf5bb
Fix the Drawable2D sorting expression.
|
11 years ago |
aster2013
|
1d3329c4aa
Apply world transform to vertices.
|
11 years ago |
aster2013
|
43147fbe1d
Convert MaterialCache2D to a component. [ci skip]
|
11 years ago |
aster2013
|
4a34818c25
Add DrawableProxy2D.[ci skip]
|
11 years ago |
aster2013
|
bea3ec1c76
Remove z value, use layer order to sort Drawable2D.
|
11 years ago |
aster2013
|
e0e7fe8ea5
Add MaterialCache2D, Remove DrawableProxy2D.
|
11 years ago |
aster2013
|
82c0cd6ae2
Add DrawableProxy2D (Not finish, currently on cache material).[ci skip]
|
11 years ago |
aster2013
|
aa10e2222a
Add GetTexture function in Drawable2D.[ci skip]
|
11 years ago |
aster2013
|
130551f4d8
Add fixed pixel size (user don't need change the value).
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
c21924703c
Also recalculate bounding box when Scene's 2D unit size change.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
d5d4d51aff
Refactor Drawable2D's pixel-per-unit to Scene's 2D-unit-size attr.
|
11 years ago |
Lasse Öörni
|
7ae747063f
Rename "Unit Per Pixel" attribute in Drawable2D to "Pixels Per Unit" to match the actual behavior in StaticSprite2D / AnimatedSprite2D. Remove the attribute from ParticleEmitter2D class as it doesn't have effect. Closes #230.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
88021f0509
Clean up the 2D library fix for the Editor.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
ff1f9fc7d8
Fix Drawable2D bounding box update and attribute network propagation.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
d1b1db18d5
Fix Editor crash when inspecting Drawable2D attributes.
|
11 years ago |
Lasse Öörni
|
0628d61af6
Do not update/clone material in UpdateBatches(), as it's called from a worker thread. Instead update material earlier on demand.
|
11 years ago |
aster2013
|
232c096d9a
Add Sprite2D and Drawable2D.
|
11 years ago |