()
| 94 | } |
| 95 | |
| 96 | func (mt Material) String() string { |
| 97 | return reflectx.StringJSON(mt) |
| 98 | } |
| 99 | |
| 100 | // IsTransparent returns true if texture says it is, or if color has alpha < 255 |
| 101 | func (mt *Material) IsTransparent() bool { |
nothing calls this directly
no test coverage detected