Verse API reference page for the SetMaterial function
Changes the Material of the Mesh used by this instance. Optionally can specify which Mesh element index to apply the material to, otherwise defaults to the 0 (default) Mesh element
Verse using statement |
using { /Fortnite.com/Devices } |
SetMaterial<public><native>(Material:material, Index:int)<transacts>:void
Parameters
SetMaterial takes the following parameters:
| Name | Type | Description |
|---|---|---|
Material |
material |
|
Index |
int |
Attributes, Specifiers, and Effects
Specifiers
The following specifiers determine how you can interact with SetMaterial in your programs. For the complete list of specifiers, see the Specifiers Page.
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |
native |
Indicates that the definition details of the element are implemented in C++. Verse definitions with the native specifier auto-generate C++ definitions that a developer can then fill out its implementation. You can use this specifier on classes, interfaces, enums, methods, and data. |
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.