Curvy  4.0.0
BuildShapeExtrusion Class Reference
+ Inheritance diagram for BuildShapeExtrusion:
+ Collaboration diagram for BuildShapeExtrusion:

Public Types

enum  CrossShiftModeEnum { None, ByOrientation, Custom }
 
enum  ScaleModeEnum { Simple, Advanced }
 

Public Attributes

CGModuleInputSlot InCross = new CGModuleInputSlot()
 
CGModuleInputSlot InPath = new CGModuleInputSlot()
 
CGModuleOutputSlot OutVolume = new CGModuleOutputSlot()
 
CGModuleOutputSlot OutVolumeHollow = new CGModuleOutputSlot()
 
- 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

float AngleThreshold [get, set]
 
IExternalInput Cross [get]
 
float CrossAngleThreshold [get, set]
 
bool CrossExtendedUV [get, set]
 
float CrossFrom [get, set]
 
int CrossGroups [get]
 
bool CrossHardEdges [get, set]
 
bool CrossIncludeControlPoints [get, set]
 
float CrossLength [get, set]
 
bool CrossMaterials [get, set]
 
bool CrossOptimize [get, set]
 
Vector3 CrossPosition [get, protected set]
 
int CrossResolution [get, set]
 Defines how densely the cross spline's sampling points are. When the value is 100, the number of sampling points per world distance unit is equal to the spline's MaxPointsPerUnit More...
 
bool CrossReverseNormals [get, set]
 
Quaternion CrossRotation [get, protected set]
 
int CrossSamples [get]
 
CrossShiftModeEnum CrossShiftMode [get, set]
 
float CrossShiftValue [get, set]
 
float CrossTo [get, set]
 
float From [get, set]
 
float HollowInset [get, set]
 
bool HollowReverseNormals [get, set]
 
float Length [get, set]
 
bool Optimize [get, set]
 
int PathSamples [get]
 
int Resolution [get, set]
 Defines how densely the path spline's sampling points are. When the value is 100, the number of sampling points per world distance unit is equal to the spline's MaxPointsPerUnit More...
 
ScaleModeEnum ScaleMode [get, set]
 
float ScaleOffset [get, set]
 
CGReferenceMode ScaleReference [get, set]
 
bool ScaleUniform [get, set]
 
float ScaleX [get, set]
 
float ScaleY [get, set]
 
float To [get, set]
 
- 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

Vector3 GetScale (float f)
 
override void Refresh ()
 Add Module processing code in here More...
 
- 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)
 
virtual void OnStateChange ()
 Called when a module's state changes (Link added/removed, Active toggles etc..) More...
 
virtual void OnTemplateCreated ()
 Called after a module was copied to a template More...
 
void ReInitializeLinkedSlots ()
 
virtual void Reset ()
 

Additional Inherited Members

- 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)
 
- 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 Enumeration Documentation

enum CrossShiftModeEnum
strong
Enumerator
None 
ByOrientation 
Custom 
enum ScaleModeEnum
strong
Enumerator
Simple 
Advanced 

Member Function Documentation

Vector3 GetScale ( float  f)
override void Refresh ( )
virtual

Add Module processing code in here

Reimplemented from CGModule.

Member Data Documentation

CGModuleOutputSlot OutVolumeHollow = new CGModuleOutputSlot()

Property Documentation

float AngleThreshold
getset
IExternalInput Cross
get
float CrossAngleThreshold
getset
bool CrossExtendedUV
getset
float CrossFrom
getset
int CrossGroups
get
bool CrossHardEdges
getset
bool CrossIncludeControlPoints
getset
float CrossLength
getset
bool CrossMaterials
getset
bool CrossOptimize
getset
Vector3 CrossPosition
getprotected set
int CrossResolution
getset

Defines how densely the cross spline's sampling points are. When the value is 100, the number of sampling points per world distance unit is equal to the spline's MaxPointsPerUnit

bool CrossReverseNormals
getset
Quaternion CrossRotation
getprotected set
int CrossSamples
get
CrossShiftModeEnum CrossShiftMode
getset
float CrossShiftValue
getset
float CrossTo
getset
float From
getset
float HollowInset
getset
bool HollowReverseNormals
getset
float Length
getset
bool Optimize
getset
int PathSamples
get
int Resolution
getset

Defines how densely the path spline's sampling points are. When the value is 100, the number of sampling points per world distance unit is equal to the spline's MaxPointsPerUnit

ScaleModeEnum ScaleMode
getset
float ScaleOffset
getset
CGReferenceMode ScaleReference
getset
bool ScaleUniform
getset
float ScaleX
getset
float ScaleY
getset
float To
getset

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