Pixelpart 1.8.2
Unity Plugin
Loading...
Searching...
No Matches
PixelpartEffectAsset Class Reference

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.
 

Detailed Description

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.

Member Function Documentation

◆ Load()

void Load ( string path)

Load effect from a ppfx file.

Parameters
pathFile to import

◆ LoadEffect()

IntPtr LoadEffect ( )

Create internal representation of effect.

Only call after Load.

Returns
Pointer to internal effect runtime
Exceptions
InvalidOperationException

The documentation for this class was generated from the following file: