Table of Contents

Class ModifierVariableMixShapes

public class ModifierVariableMixShapes : CGModule, IOnRequestProcessing, IPathProvider
Inheritance
Object
Component
Behaviour
MonoBehaviour
DTVersionedMonoBehaviour
ModifierVariableMixShapes
Implements
Inherited Members

Fields

InShapeA

[HideInInspector]
[InputSlotInfo(typeof(CGShape), Name = "Shape A")]
public CGModuleInputSlot InShapeA

Field Value

CGModuleInputSlot

InShapeB

[HideInInspector]
[InputSlotInfo(typeof(CGShape), Name = "Shape B")]
public CGModuleInputSlot InShapeB

Field Value

CGModuleInputSlot

OutShape

[HideInInspector]
[ShapeOutputSlotInfo(OutputsVariableShape = true, Array = true, ArrayType = SlotInfo.SlotArrayType.Hidden)]
public CGModuleOutputSlot OutShape

Field Value

CGModuleOutputSlot

Properties

MixCurve

Defines how the result is interpolated. Values (Y axis) between -1 for Shape A and 1 for Shape B. Times (X axis) between 0 for extrusion start and 1 for extrusion end

public AnimationCurve MixCurve { get; set; }

Property Value

AnimationCurve

PathIsClosed

public bool PathIsClosed { get; }

Property Value

bool

Methods

OnSlotDataRequest(CGModuleInputSlot, CGModuleOutputSlot, params CGDataRequestParameter[])

public CGData[] OnSlotDataRequest(CGModuleInputSlot requestedBy, CGModuleOutputSlot requestedSlot, params CGDataRequestParameter[] requests)

Parameters

requestedBy CGModuleInputSlot
requestedSlot CGModuleOutputSlot
requests CGDataRequestParameter[]

Returns

CGData[]