Set Collection Parameter
Set a collection parameter's DEFAULT, creating it if the name is new. The default is what the world starts with and not what the game will see: anything that writes to the collection at runtime replaces it from that moment on.
hf_set_collection_parameterWriteArguments
| Name | Type | Description |
|---|---|---|
collectionreq | string | |
parameterreq | string | |
a | number = 1 | |
b | number | |
force | boolean = false | Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first. |
g | number | |
r | number | |
scalar | number | A scalar default. Give this or the four colour components, not both. |
Related tools
Nearby in Materials:
- List Material Parameters
- Recompile Material
- Remove Material Node
- Reset Material Parameter
- Set Material Layer
- Set Material Node Property
- Set Material Parameter
- Set Material Property
All 28 tools in Materials — 19 more not listed here.