Background for Fallout 4
Member of the ObjectReference script
MatSwapfunctionGetMaterialSwap()Native

Description

Wiki Description

Gets the internal persistent Material Swap for this reference. Some ObjectReference placed in the world through the Editor may have this already filled.

Documentation Comment

Gets the internal persistent material swap
ObjectReferences placed in the world via Editor may have this already filled


Examples

MatSwap myMaterialSwap = weaponReference.GetMaterialSwap()
Debug.Trace("Got the material swap "+myMaterialSwap+" from the "+weaponReference+" reference.")

Auto-Generated Example

MatSwap returnedValue = myObjectReference__toCallFunctionOn.GetMaterialSwap()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.