Table of Contents

Class InputMesh

Brings one or more Unity meshes into the generator as CGVMesh, ready for use by other modules

public class InputMesh : CGModule, IExternalInput
Inheritance
Object
Component
Behaviour
MonoBehaviour
DTVersionedMonoBehaviour
InputMesh
Implements
Inherited Members

Fields

OutVMesh

[HideInInspector]
[OutputSlotInfo(typeof(CGVMesh), Array = true)]
public CGModuleOutputSlot OutVMesh

Field Value

CGModuleOutputSlot

Properties

Meshes

The list of mesh properties to provide as input

public List<CGMeshProperties> Meshes { get; }

Property Value

List<CGMeshProperties>

SupportsIPE

Whether the module currently supports an IPE session

public bool SupportsIPE { get; }

Property Value

bool

Methods

OnTemplateCreated()

Called after a module was copied to a template

public override void OnTemplateCreated()

Remarks

Use this handle references that can't be templated etc...

Refresh()

Add Module processing code in here

public override void Refresh()