InlineDrawingBase (object)

バージョン 1.12.0 で追加.

The InlineDrawingBase is used to perform direct rendering to the viewport. This KL object is inherited by the OGLInlineDrawing type for specialized OpenGL direct rendering. The InlineDrawingBase manages a minimalistic scene using the InlineTransform, as well as InlineShader and InlineShape objects.

InlineDrawingBase InlineDrawingBase InlineDrawingBase InlineDrawing InlineDrawing InlineDrawingBase->InlineDrawing InlineEntityBase InlineEntityBase InlineDrawingBase->InlineEntityBase InlineEntity InlineEntity InlineEntityBase->InlineEntity OGLInlineDrawing OGLInlineDrawing OGLInlineDrawing->InlineDrawingBase

Methods

  InlineDrawingBase ( in InlineDrawingBase other )
  InlineDrawingBase ()
InlineDrawingBase clone ? ()
  deregisterCallback ! ( in InlineDrawingCallback callback )
InlineDrawingCallback[] getCallbacks ? ()
String getName ? ()
Ref<InlineTexture> getOrCreateAtlasTexture ! ( in FilePath fontPath, in UInt32 fontSize )
InlineTransform getRoot ? ()
InlineShader getShader ? ( in Index index )
InlineShader getShader ? ( in String name )
Size getShaderCount ? ()
Integer getShaderIndex ? ( in String name )
InlineShape getShape ? ( in Index index )
InlineShape getShape ? ( in String name )
InlineShapeAdaptor getShapeAdaptor ? ( in Index index )
InlineShapeAdaptor getShapeAdaptor ? ( in String shapeType )
Integer getShapeAdaptorIndex ? ( in String shapeType )
Size getShapeCount ? ()
Integer getShapeIndex ? ( in String name )
InlineTexture getTexture ? ( in Index index )
InlineTexture getTexture ? ( in String name )
InlineTextureAdaptor getTextureAdaptor ? ( in Index index )
InlineTextureAdaptor getTextureAdaptor ? ( in String textureType )
Integer getTextureAdaptorIndex ? ( in String textureType )
Size getTextureCount ? ()
Integer getTextureIndex ? ( in String name )
InlineTransformAdaptor getTransformAdaptor ? ( in Index index )
InlineTransformAdaptor getTransformAdaptor ? ( in String transformType )
Integer getTransformAdaptorIndex ? ( in String transformType )
Viewport getViewport ? ( in String key )
Boolean hasShader ? ( in String name )
Boolean hasShape ? ( in String name )
Boolean hasTexture ? ( in String name )
  registerCallback ! ( in InlineDrawingCallback callback )
InlineShader registerShader ! ( in InlineShader shader )
InlineShader registerShader ! ( in Type shaderType )
InlineShape registerShape ! ( in InlineShapeBase shape )
  registerShapeAdaptor ! ( in InlineShapeAdaptor adaptor )
InlineTexture registerTexture ! ( in InlineTexture texture )
  registerTextureAdaptor ! ( in InlineTextureAdaptor adaptor )
  registerTransformAdaptor ! ( in InlineTransformAdaptor adaptor )
  registerViewport ! ( in String key, in Viewport viewport )
Boolean unregisterShape ! ( in String name )

Methods in detail

InlineDrawingBase ( in InlineDrawingBase other )

copy constructor


InlineDrawingBase ()

default constructor


InlineDrawingBase InlineDrawingBase.clone? ()

clone method


InlineDrawingBase.deregisterCallback! ( in InlineDrawingCallback callback )

deregisters a InlineDrawingCallback


InlineDrawingCallback[] InlineDrawingBase.getCallbacks? ()

deregisters a InlineDrawingCallback


String InlineDrawingBase.getName? ()

returns the name of this drawing


Ref<InlineTexture> InlineDrawingBase.getOrCreateAtlasTexture! ( in FilePath fontPath, in UInt32 fontSize )

Gets or creates an InlineAtlasTexture.

fontPath Font path, use default Roboto font if path is not valid
fontSize Font size


InlineTransform InlineDrawingBase.getRoot? ()

returns the root transform of this drawing


InlineShader InlineDrawingBase.getShader? ( in Index index )

returns a shader given an index


InlineShader InlineDrawingBase.getShader? ( in String name )

returns a shader given a name, or null


Size InlineDrawingBase.getShaderCount? ()

returns the number of registered shaders


Integer InlineDrawingBase.getShaderIndex? ( in String name )

returns the index of a shader in the drawing


InlineShape InlineDrawingBase.getShape? ( in Index index )

returns a shape with a given index, or null


InlineShape InlineDrawingBase.getShape? ( in String name )

returns a shape with a given name, or null


InlineShapeAdaptor InlineDrawingBase.getShapeAdaptor? ( in Index index )

returns the shape adaptor of a given index


InlineShapeAdaptor InlineDrawingBase.getShapeAdaptor? ( in String shapeType )

returns the shape adaptor for a given type


Integer InlineDrawingBase.getShapeAdaptorIndex? ( in String shapeType )

returns the index of a shape adaptor


Size InlineDrawingBase.getShapeCount? ()

returns the number of shapes registered


Integer InlineDrawingBase.getShapeIndex? ( in String name )

returns the index of a shape in the drawing


InlineTexture InlineDrawingBase.getTexture? ( in Index index )

returns a texture with a given index, or null


InlineTexture InlineDrawingBase.getTexture? ( in String name )

returns a texture with a given name, or null


InlineTextureAdaptor InlineDrawingBase.getTextureAdaptor? ( in Index index )

returns the texture adaptor of a given index


InlineTextureAdaptor InlineDrawingBase.getTextureAdaptor? ( in String textureType )

returns the texture adaptor for a given type


Integer InlineDrawingBase.getTextureAdaptorIndex? ( in String textureType )

returns the index of a texture adaptor


Size InlineDrawingBase.getTextureCount? ()

returns the number of textures registered


Integer InlineDrawingBase.getTextureIndex? ( in String name )

returns the index of a texture in the drawing


InlineTransformAdaptor InlineDrawingBase.getTransformAdaptor? ( in Index index )

returns the transform adaptor of a given index


InlineTransformAdaptor InlineDrawingBase.getTransformAdaptor? ( in String transformType )

returns the transform adaptor for a given type


Integer InlineDrawingBase.getTransformAdaptorIndex? ( in String transformType )

returns the index of a transform adaptor


Viewport InlineDrawingBase.getViewport? ( in String key )

Returns a known viewport


Boolean InlineDrawingBase.hasShader? ( in String name )

returns true if a shader with a given name has been registered


Boolean InlineDrawingBase.hasShape? ( in String name )

returns true if a shape with a given name has been registered


Boolean InlineDrawingBase.hasTexture? ( in String name )

returns true if a given texture has been registered


InlineDrawingBase.registerCallback! ( in InlineDrawingCallback callback )

Registers a InlineDrawingCallback


InlineShader InlineDrawingBase.registerShader! ( in InlineShader shader )

registers a new shader into this drawing


InlineShader InlineDrawingBase.registerShader! ( in Type shaderType )

registers a new shader of type shaderType into this drawing


InlineShape InlineDrawingBase.registerShape! ( in InlineShapeBase shape )

registers a new shape into this drawing


InlineDrawingBase.registerShapeAdaptor! ( in InlineShapeAdaptor adaptor )

registers a new adaptor for shape drawing


InlineTexture InlineDrawingBase.registerTexture! ( in InlineTexture texture )

registers a new texture into this drawing. the texture should replace an existing texture if name unique is relevant.


InlineDrawingBase.registerTextureAdaptor! ( in InlineTextureAdaptor adaptor )

registers a new adaptor for texture drawing


InlineDrawingBase.registerTransformAdaptor! ( in InlineTransformAdaptor adaptor )

registers a new adaptor for shape drawing


InlineDrawingBase.registerViewport! ( in String key, in Viewport viewport )

Registers a new viewport


Boolean InlineDrawingBase.unregisterShape! ( in String name )

unregisters a new shape into this drawing. returns true of successful