Interface ICamApiInteractiveVO
Interactivity of a visual object (selection, hotspots). Fetch via
QueryInterface from ICamApiVisualObject; non-interactive objects (e.g. a
gizmo) return nil.
Assembly: CAMAPI.ViewPort.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("B2F8D5C3-AE49-4A7B-9D26-3C8F1E0B5A42")]
public interface ICamApiInteractiveVO
Properties
Selectable
When set, this object can be picked by clicking its geometry and its
hotspots are drawn only while it is selected; clearing it shows the
hotspots unconditionally.
Declaration
bool Selectable { get; set; }
Property Value
Methods
AddHotSpot(TST3DPoint)
Declaration
int AddHotSpot(TST3DPoint P)
Parameters
Returns
AddHotSpotShaped(TST3DPoint, ICamApiMeshBuilder, bool, bool, bool)
Declaration
int AddHotSpotShaped(TST3DPoint P, ICamApiMeshBuilder Shape, bool ScreenScaled, bool Rigid, bool Decorative)
Parameters
Returns
ClearHotSpots()
Remove all handles from this object. Handle ids restart from 1 on the
next AddHotSpot/AddHotSpotShaped, so ids obtained before the clear must
not be reused afterwards (they would refer to different handles).
Declaration
SetInteractionHandler(ICamApiViewInteractionHandler)
Set the handler that receives hotspot drag events (nil to detach).
Declaration
void SetInteractionHandler(ICamApiViewInteractionHandler Handler)
Parameters
UpdateHotSpotShaped(int, TST3DPoint, ICamApiMeshBuilder, bool, bool, bool)
Declaration
void UpdateHotSpotShaped(int Id, TST3DPoint P, ICamApiMeshBuilder Shape, bool ScreenScaled, bool Rigid, bool Decorative)
Parameters