create_extension_with_properties


Description:

public Object create_extension_with_properties (PluginInfo info, Type extension_type, string[] prop_names, Value[] prop_values)

If the plugin identified by info implements the extension_type, then this function will return a new instance of this implementation.

See [method@Engine.create_extension] for more information.

Parameters:

this

A Engine.

info

A loaded PluginInfo.

extension_type

The implemented extension Type.

prop_names

an array of property names.

prop_values

an array of property values.

n_properties

the length of the prop_names and prop_values array.

Returns:

a new instance of Object which meets the prerequisites of extension_type , or null.