Curvy  3.0.0
CreateMesh Class Reference
+ Inheritance diagram for CreateMesh:
+ Collaboration diagram for CreateMesh:

Public Attributes

CGModuleInputSlot InSpots = new CGModuleInputSlot()
 
CGModuleInputSlot InVMeshArray = new CGModuleInputSlot()
 
- Public Attributes inherited from CGModule
List< CGModuleLinkInputLinks = new List<CGModuleLink>()
 
List< CGModuleLinkOutputLinks = new List<CGModuleLink>()
 
CGModuleProperties Properties = new CGModuleProperties()
 
List< string > UIMessages = new List<string>()
 

Properties

CGYesNoAuto AddNormals [get, set]
 
CGYesNoAuto AddTangents [get, set]
 
bool AddUV2 [get, set]
 
Transform AnchorOverride [get, set]
 
bool AutoUpdateColliders [get, set]
 
ShadowCastingMode CastShadows [get, set]
 
CGColliderEnum Collider [get, set]
 
bool Combine [get, set]
 
bool Convex [get, set]
 
bool GroupMeshes [get, set]
 
int Layer [get, set]
 
LightProbeUsage LightProbeUsage [get, set]
 
bool MakeStatic [get, set]
 
PhysicMaterial Material [get, set]
 
int MeshCount [get]
 
CGMeshResourceCollection Meshes [get]
 
bool ReceiveShadows [get, set]
 
ReflectionProbeUsage ReflectionProbes [get, set]
 
bool RendererEnabled [get, set]
 
bool UseLightProbes [get, set]
 
int VertexCount [get]
 
- Properties inherited from CGModule
bool Active [get, set]
 
bool CircularReferenceError [get, set]
 Whether this module has circular reference errors More...
 
bool Dirty [get, set]
 
CurvyGenerator Generator [get]
 
ModuleInfoAttribute Info [get]
 
List< CGModuleInputSlotInput [get]
 
Dictionary< string, CGModuleInputSlotInputByName [get]
 
virtual bool IsConfigured [get]
 Gets whether the module is properly configured i.e. has everything to work like intended More...
 
virtual bool IsInitialized [get]
 Gets whether the module and all its dependencies are fully initialized More...
 
string ModuleName [get, set]
 
CurvyCGEvent OnBeforeRefresh [get, set]
 
CurvyCGEvent OnRefresh [get, set]
 
List< CGModuleOutputSlotOutput [get]
 
Dictionary< string, CGModuleOutputSlotOutputByName [get]
 
bool RandomizeSeed [get, set]
 
int Seed [get, set]
 
int UniqueID [get]
 

Public Member Functions

void Clear ()
 
override void OnStateChange ()
 Called when a module's state changes (Link added/removed, Active toggles etc..) More...
 
override void OnTemplateCreated ()
 Called after a module was copied to a template More...
 
override void Refresh ()
 Add Module processing code in here More...
 
GameObject SaveToScene (Transform parent=null)
 
void UpdateColliders ()
 
- Public Member Functions inherited from CGModule
Component AddManagedResource (string resourceName, string context="", int index=-1)
 
CGModule CopyTo (CurvyGenerator targetGenerator)
 
void Delete ()
 
void DeleteAllPrefabPools ()
 
void DeleteManagedResource (string resourceName, Component res, string context="", bool dontUsePool=false)
 
List< IPool > GetAllPrefabPools ()
 
CGModuleLink GetInputLink (CGModuleInputSlot inSlot, CGModuleOutputSlot outSlot)
 
List< CGModuleLinkGetInputLinks (CGModuleInputSlot inSlot)
 
CGModuleInputSlot GetInputSlot (string name)
 
List< CGModuleInputSlotGetInputSlots (System.Type filterType=null)
 
bool GetManagedResources (out List< Component > components, out List< string > componentNames)
 
CGModuleLink GetOutputLink (CGModuleOutputSlot outSlot, CGModuleInputSlot inSlot)
 
List< CGModuleLinkGetOutputLinks (CGModuleOutputSlot outSlot)
 
CGModuleOutputSlot GetOutputSlot (string name)
 
List< CGModuleOutputSlotGetOutputSlots (System.Type filterType=null)
 
void Initialize ()
 
bool IsManagedResource (Component res)
 
void ReInitializeLinkedSlots ()
 
virtual void Reset ()
 

Protected Member Functions

override bool UpgradeVersion (string oldVersion, string newVersion)
 
- Protected Member Functions inherited from CGModule
virtual void Awake ()
 
PrefabPool GetPrefabPool (GameObject prefab)
 
CurvyCGEventArgs OnBeforeRefreshEvent (CurvyCGEventArgs e)
 
virtual void OnDestroy ()
 
virtual void OnDisable ()
 
virtual void OnEnable ()
 
CurvyCGEventArgs OnRefreshEvent (CurvyCGEventArgs e)
 
void RenameResource (string resourceName, Component resource, int index=-1)
 

Additional Inherited Members

- Static Protected Member Functions inherited from CGModule
static T GetRequestParameter< T > (ref CGDataRequestParameter[] requests)
 Gets a request parameter of a certain type More...
 
static void RemoveRequestParameter (ref CGDataRequestParameter[] requests, CGDataRequestParameter request)
 Removes a certain request parameter from the requests array More...
 

Member Function Documentation

void Clear ( )
override void OnStateChange ( )
virtual

Called when a module's state changes (Link added/removed, Active toggles etc..)

Reimplemented from CGModule.

override void OnTemplateCreated ( )
virtual

Called after a module was copied to a template

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

Reimplemented from CGModule.

override void Refresh ( )
virtual

Add Module processing code in here

Reimplemented from CGModule.

GameObject SaveToScene ( Transform  parent = null)
void UpdateColliders ( )
override bool UpgradeVersion ( string  oldVersion,
string  newVersion 
)
protected

Member Data Documentation

CGModuleInputSlot InVMeshArray = new CGModuleInputSlot()

Property Documentation

CGYesNoAuto AddNormals
getset
CGYesNoAuto AddTangents
getset
bool AddUV2
getset
Transform AnchorOverride
getset
bool AutoUpdateColliders
getset
ShadowCastingMode CastShadows
getset
CGColliderEnum Collider
getset
bool Combine
getset
bool Convex
getset
bool GroupMeshes
getset
int Layer
getset
LightProbeUsage LightProbeUsage
getset
bool MakeStatic
getset
PhysicMaterial Material
getset
int MeshCount
get
bool ReceiveShadows
getset
ReflectionProbeUsage ReflectionProbes
getset
bool RendererEnabled
getset
bool UseLightProbes
getset
int VertexCount
get

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