Packagecom.mi.rs
Classpublic class RenderCommand
InheritanceRenderCommand Inheritance Command Inheritance Object
Implements IRenderCommand

Implementation of the IRenderCommand interface that renders images using the "render" RealityServer command. See the IRenderCommand interface for more information.

See also

com.mi.rs.IRenderCommand


Public Properties
 PropertyDefined By
  isCancelled : Boolean
[override] [read-only] Always returns false.
RenderCommand
 Inheritedname : String
[read-only] The name of the RealityServer command to call.
Command
 Inheritedparams : Object
[read-only] An associative array containing the command arguments as name/value pairs.
Command
  renderTarget : ImageRenderTarget
[read-only] Returns the ImageRenderTarget that will display the renderd image.
RenderCommand
Public Methods
 MethodDefined By
  
RenderCommand(target:ImageRenderTarget, sceneName:String, renderer:String = null, renderContext:String = null, renderContextTimeout:uint = 0, format:String = jpg, quality:String = 90, canvasContent:String = result, canvasPixelType:String = Rgba, pixelType:String = Rgba)
Creates a render command.
RenderCommand
 Inherited
toString():String
Returns a string for debugging purposes.
Command
Property Detail
isCancelledproperty
isCancelled:Boolean  [read-only] [override]

Always returns false.


Implementation
    public function get isCancelled():Boolean
renderTargetproperty 
renderTarget:ImageRenderTarget  [read-only]

Returns the ImageRenderTarget that will display the renderd image.


Implementation
    public function get renderTarget():ImageRenderTarget
Constructor Detail
RenderCommand()Constructor
public function RenderCommand(target:ImageRenderTarget, sceneName:String, renderer:String = null, renderContext:String = null, renderContextTimeout:uint = 0, format:String = jpg, quality:String = 90, canvasContent:String = result, canvasPixelType:String = Rgba, pixelType:String = Rgba)

Creates a render command.

Parameters
target:ImageRenderTarget
 
sceneName:String
 
renderer:String (default = null)
 
renderContext:String (default = null)
 
renderContextTimeout:uint (default = 0)
 
format:String (default = jpg)
 
quality:String (default = 90)
 
canvasContent:String (default = result)
 
canvasPixelType:String (default = Rgba)
 
pixelType:String (default = Rgba)