aster2013
|
3f3fb2a7dc
Restore custom material in Drawable2D.
|
11 years ago |
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
|
cb819a5a6f
Remove class name and variant type from attribute macros.
|
11 years ago |
aster2013
|
d99b6e9a4e
Remove type from MIXED_ACCESSOR_ATTRIBUTE macro, make it more cleaner. Other attribute macros will be modify later.
|
11 years ago |
aster2013
|
7e46f0c862
Add MIXED_ACCESSOR_ATTRIBUTE.
|
11 years ago |
Lasse Öörni
|
bf6a054ac4
Use ordinary DRAWABLE_GEOMETRY flag on 2D drawables so that they can be raycasted against. Use a DRAWABLE_PROXYGEOMETRY flag on DrawableProxy2D so that it won't show up in normal raycasts or octree queries. Fixes #345.
|
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 |
Lasse Öörni
|
a6b66ab23a
Fix crash when a 2D drawable is removed from scene.
|
11 years ago |
aster2013
|
60ef5aa6bf
Add DRAWABLE_2D.
|
11 years ago |
aster2013
|
e7d829277d
Remove AddListener call. [ci skip]
|
11 years ago |
aster2013
|
c31637ed43
Add batch rendering for all 2D objects.
|
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 |
aster2013
|
a2daae5573
Revert "Set PixelsPerUnit default value to 100, make 2D Object has suitable size in Editor."
|
11 years ago |
aster2013
|
766ce1d4c1
Set PixelsPerUnit default value to 100, make 2D Object has suitable size in Editor.
|
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 |