Shader: "scaled image"
"scaled image"

ClassBackground
Synopsis A background of an image read from a file or supplied as an image in memory, and scaled to fit into the viewport. The image may also be rotated.
Arguments

"file name" Description: Filename of suitable image to be read.
Default:""
Hint:-
"image" Description: A suitable image in memory.
Default:NULL
Hint:-
"softness" Description: Controls the degree of blurring on the image texture.
Default:1.0
Hint:-
"keep texture" Description: If set to TRUE, the shader will keep the image live in memory even if it is deleted elsewhere in the application.
Default:FALSE
Hint:-
"rotation" Description: Rotate the image 0, 90, 180 or 270 degrees.
Default:LI_ANGLE_DEG_0
Hint:-
"aspect mode" Description: Select behaviour if the image does not fit the display; 'stretch' the image to fit ('stretch clipped' is the same but without wrapping around), preserve the image aspect ratio ('keep ratio') by cropping part of the image ('keep ratio clipped' is the same but without wrapping around), use black borders ('letterbox'), match the view, lock the background image to the 'centre' of the view, or 'repeat' (tile) the image without scaling.
Default:LI_ASPECT_MODE_STRETCH
Hint:-
"x offset" Description: Offset the image in horizontal direction.
Default:0.0
Hint:-
"y offset" Description: Offset the image in vertical direction.
Default:0.0
Hint:-
"image brightness" Description: The brightness of the image.
Default:1.0
Hint:-
"border colour" Description: The border colour.
Default:(1.0, 1.0, 1.0)
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"tone method" Description: Specify which tone mapping option to use.
Default:LI_TONE_METHOD_EMPIRICAL
Hint:-

Previous page alphabetically (rpcobject)
Next page alphabetically (scaletone)
Index


Copyright © 2010 Lightwork Design Limited. All rights reserved