ManipHandle.kl

Types

ManipHandle (object)

バージョン 1.12.0 で追加.

The ManipHandle provides a scope for manipulation. The handle can be used to register manipulators to the EventDispatcher. Upon destruction the handle will clean up and un-register the manipulators again. Additionally the ManipHandle also provides access to a contained DrawingHandle, which Manipulators can use to perform custom drawing.

Members

String name the name of this handle
DrawingHandle drawHandle the drawing handle used
EventDispatcher dispatcher the handle’s dispatcher
Manipulator[String] manipulators The dict of registered manipulators.
BaseGizmoHandler[String] gizmoHandlers the gizmo handler used by the gizmo manip
InlineInstance[String] gizmoInstances the gizmo instances
InlineInstance[String] weightmapInstances the weightmap instances

Methods

  ManipHandle ( in ManipHandle other )
  ManipHandle ( in String name )
  ManipHandle ()
  addOffsetTransform ! ( in String name, in PolygonMesh mesh, in Xfo xfo, in Color color, in Scalar size, in InlineInstance parentInstance, out InlineInstance instance )
  addOrientationAxisManip ! ( in String name, in PolygonMesh mesh, in Xfo xfo, in Color color, in Scalar size, in Vec3 axis, in InlineInstance parentInstance, in String portToDrive, in String hostGraphName, out InlineInstance instance )
  addOrientationSphericalManip ! ( in String name, in PolygonMesh mesh, in Xfo xfo, in Color color, in Scalar size, in Float32 tolerance, in InlineInstance parentInstance, in String portToDrive, in String hostGraphName, out InlineInstance instance )
  addPositionAxisManip ! ( in String name, in PolygonMesh mesh, in Vec3 pos, in Color color, in Scalar size, in Vec3 axis, in InlineInstance parentInstance, in String portToDrive, in String hostGraphName, out InlineInstance instance )
  addPositionManip ! ( in String name, in PolygonMesh mesh, in Vec3 pos, in Color color, in Scalar size, in InlineInstance parentInstance, in String portToDrive, in String hostGraphName, out InlineInstance instance )
  addPositionPlanarManip ! ( in String name, in PolygonMesh mesh, in Vec3 pos, in Color color, in Scalar size, in Vec3 normal, in InlineInstance parentInstance, in String portToDrive, in String hostGraphName, out InlineInstance instance )
  addPositionSliderManip ! ( in String name, in PolygonMesh mesh, in Vec3 pos, in Color color, in Scalar size, in Vec3 axis, in Vec2 limits, in InlineInstance parentInstance, in String portToDrive, in String hostGraphName, out InlineInstance instance )
  addSurfacePaintManip ! ( in String name, io InlineInstance instance, io Weightmap weightmap, in Xfo xfo, in Color color )
  addSurfaceSculptManip ! ( in String name, io InlineInstance instance )
  clear ! ()
ManipHandle clone ? ()
DrawingHandle getDrawingHandle ? ()
  registerManipulator ! ( in String name, in Manipulator manip )
  ~ManipHandle ()