Table of Contents

Class InputSplineShape

Creates a 2D CGShape from a CurvySpline

public class InputSplineShape : SplineInputModuleBase, IExternalInput, IOnRequestProcessing, IPathProvider
Inheritance
Object
Component
Behaviour
MonoBehaviour
DTVersionedMonoBehaviour
InputSplineShape
Implements
Inherited Members

Remarks

A Shape must lie on the X/Y plane

Fields

OutShape

[HideInInspector]
[OutputSlotInfo(typeof(CGShape))]
public CGModuleOutputSlot OutShape

Field Value

CGModuleOutputSlot

Properties

FreeForm

When true, the shape is free-form (no CurvyShape component). When false, a CurvyShape component is added

public bool FreeForm { get; set; }

Property Value

bool

InputSpline

protected override CurvySpline InputSpline { get; set; }

Property Value

CurvySpline

Shape

The input spline to rasterize into a 2D shape

public CurvySpline Shape { get; set; }

Property Value

CurvySpline

SupportsIPE

Whether the module currently supports an IPE session

public bool SupportsIPE { 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[]

OnSplineAssigned()

protected override void OnSplineAssigned()

RemoveManagedShape()

public void RemoveManagedShape()

SetManagedShape<T>()

public T SetManagedShape<T>() where T : CurvyShape2D

Returns

T

Type Parameters

T