Documentation & change permission of some methods and attributes

This commit is contained in:
Ishotihadus
2017-08-08 02:31:27 +09:00
parent 0007810984
commit ed1870920d
10 changed files with 395 additions and 133 deletions
+3 -1
View File
@@ -103,7 +103,7 @@ obj.key
You can get png file directly from Texture2D asset. Output object's class is `ChunkyPNG::Image`.
Acceptable format is basic texture formats (1, 2, 3, 4, 5, 7 and 13) and ETC_RGB4 (34).
Only some basic texture formats (1--5, 7, 9, 13--20, 22, 62, and 63) and ETC_RGB4 (34) are available.
```ruby
require 'mikunyan/decoders'
@@ -118,6 +118,8 @@ img = Mikunyan::ImageDecoder.decode_object(obj)
img.save('mikunyan.png')
```
Mikunyan cannot decode ASTC files. Use `Mikunyan::ImageDecoder.create_astc_file` instead.
### Json / YAML Outputer
`mikunyan-json` is an executable command for converting unity3d to json.