Mod.GetSourceMod

Returns a reference to a source module connected to this noise module.

@param index The index value assigned to the source module.

@returns A reference to the source module.

@pre The index value ranges from 0 to one less than the number of source modules required by this noise module. @pre A source module with the specified index value has been added to this noise module via a call to SetSourceMod().

@throw new noise::ExceptionNoMod See the preconditions for more information.

Each noise module requires the attachment of a certain number of source modules before an application can call the GetValue() method.

class Mod
ref const
const(Mod)
GetSourceMod
(
int index
)

Meta