< Previous | Contents | Next >

Example


InCenter = self:AddInput("Center", "Center", { LINKID_DataType = "Point", INPID_InputControl = "OffsetControl", INPID_PreviewControl = "CrosshairControl", INP_DefaultX = 0.5,

INP_DefaultY = 0.5,

})


INPID_PreviewControl:

There are 5 different on screen UI Widget used to link other Controls to the Point control, to give added on screen interactions. RectangleControl can be linked to a size slider control.