SetTransparent sets whether this material is transparent.
(state bool)
| 210 | |
| 211 | // SetTransparent sets whether this material is transparent. |
| 212 | func (mat *Material) SetTransparent(state bool) { |
| 213 | |
| 214 | mat.transparent = state |
| 215 | } |
| 216 | |
| 217 | // Transparent returns whether this material has been set as transparent. |
| 218 | func (mat *Material) Transparent() bool { |
no outgoing calls
no test coverage detected