CreateImageClip

Introduced

v1.0

Description

Creates and adds a new image source and a new image clip, the new clip pointing to the new source and inspect the new clip.

Scripting Syntax

oReturn = CreateImageClip( [FileName], [Name] );

Return Value

Returns the new ImageClip

Parameters

Parameter Type Description
FileName String Full path of the image source.

Default Value: Filename argument handler will pop up if nothing specified.

Name String The name to use for the new clip.

Default Value: If no name is supplied, then a default value will be used.

Examples

VBScript Example

CreateImageClip "c:\temp\abc.bmp", "MyClip"

See Also

AddImageClip AddImageSource SIAddImageSource CreateImageBasedLightingPass