Class ModifierVariableMixShapes
- Namespace
- FluffyUnderware.Curvy.Generator.Modules
public class ModifierVariableMixShapes : CGModule, IOnRequestProcessing, IPathProvider
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourDTVersionedMonoBehaviourModifierVariableMixShapes
- Implements
- Inherited Members
Fields
InShapeA
[HideInInspector]
[InputSlotInfo(typeof(CGShape), Name = "Shape A")]
public CGModuleInputSlot InShapeA
Field Value
InShapeB
[HideInInspector]
[InputSlotInfo(typeof(CGShape), Name = "Shape B")]
public CGModuleInputSlot InShapeB
Field Value
OutShape
[HideInInspector]
[ShapeOutputSlotInfo(OutputsVariableShape = true, Array = true, ArrayType = SlotInfo.SlotArrayType.Hidden)]
public CGModuleOutputSlot OutShape
Field Value
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
Methods
OnSlotDataRequest(CGModuleInputSlot, CGModuleOutputSlot, params CGDataRequestParameter[])
public CGData[] OnSlotDataRequest(CGModuleInputSlot requestedBy, CGModuleOutputSlot requestedSlot, params CGDataRequestParameter[] requests)
Parameters
requestedByCGModuleInputSlotrequestedSlotCGModuleOutputSlotrequestsCGDataRequestParameter[]
Returns
- CGData[]