![]() |
Pixelpart 1.8.2
Unity Plugin
|
Asset for a Pixelpart effect that is contained in a ppfx file. More...
Public Member Functions | |
void | Load (string path) |
Load effect from a ppfx file. | |
IntPtr | LoadEffect () |
Create internal representation of effect. | |
Public Attributes | |
byte[] | Data = null |
Effect data as byte array. | |
PixelpartMaterialDescriptor[] | CustomMaterials = null |
Information about custom materials if the effect contains any. | |
Asset for a Pixelpart effect that is contained in a ppfx file.
This class derives from ScriptableObject
and stores the effect as a byte array.
void Load | ( | string | path | ) |
Load effect from a ppfx file.
path | File to import |
IntPtr LoadEffect | ( | ) |
Create internal representation of effect.
Only call after Load.
InvalidOperationException |