v7.0
Adds an attached comment to a Shader.
oReturn = AddShaderAttachedComment( [Container] ); |
The new comment as a Shader object.
| Parameter | Type | Description |
|---|---|---|
| Container | SelectionList or Selection |
Default Value: If no argument is specified, the current selection is used. |
/*
This example demonstrates how to use the AddShaderAttachedComment command.
*/
NewScene(null, false);
AddShaderAttachedComment( "Sources.Materials.DefaultLib.Scene_Material.Phong" );
|
CreateShaderFromCLSID CreateShaderFromProgID CreateShaderCompound NestShaders UnnestShaders AddShaderCompoundPort RemoveShaderCompoundPort MoveShaderCompoundPort RenameShaderCompoundPort ExportShaderCompound ImportShaderCompound ExplodeShaderCompound SetShaderCompoundPropertiesEx GetShaderCompoundProperties EditShaderCompoundPPGLogic