GetMaterialId Op
get the id/index of the current set material
get the id/index of the current set material
Summary (oneliner)
this can be a value in a render2textures target
Full Name
- Ops.Graphics.GetMaterialId
- Core Op - visible for everyone
- MIT
- cgl
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch Get Material Id Example
INPUT PORTS
Update (Trigger)
OUTPUT PORTS
Next (Trigger)
Material Id (Number)