public interface IrayPlusMaterialEditorBuilder extends Builder
IrayPlusMaterialEditorBuilder
Modifier and Type | Interface and Description |
---|---|
static class |
IrayPlusMaterialEditorBuilder.AddComponentData
This class holds the data returned from
addComponent(java.lang.String) |
static class |
IrayPlusMaterialEditorBuilder.ComponentInfoData
This class holds the data returned from
getComponentInfo(java.lang.String) |
static class |
IrayPlusMaterialEditorBuilder.JaIrayPlusMaterialEditorBuilderLayertype
Layer types used in iray plus material
|
static class |
IrayPlusMaterialEditorBuilder.MaterialLayersInfoData
This class holds the data returned from
getMaterialLayersInfo() |
Modifier and Type | Method and Description |
---|---|
IrayPlusMaterialEditorBuilder.AddComponentData |
addComponent(String componentType)
To add an component to layers for specific layer type.
|
void |
exportToXMLFile(String exportXmlFileName)
To export to a XML file
License requirements: studio_render ("UG STUDIO RENDER") . |
IrayPlusMaterialEditorBuilder.ComponentInfoData |
getComponentInfo(String componentName)
To get all the attribute name of a component.
|
IrayPlusMatAttr |
getComponentParameter(String attribueName)
To get single attribute object for specific fomatted attribute name
The string attribute name format should be :
"layer name-interface name-attribute name"
Let material ''Varnished Cherry' for example:
If user wants to get 'Base' component's attribueObject of 'Base-Colour-Colour'.
|
String |
getComponentParameterValue(String attribueName)
To get attribute's value in string for specific fomatted attribute name
The string attribute name format should be :
"layer name-interface name-attribute name"
Let material ''Varnished Cherry' for example:
If user wants to get 'Base' component's value of 'Base-Colour-Colour'.
|
IrayPlusMaterialEditorBuilder.MaterialLayersInfoData |
getMaterialLayersInfo()
To get all the components unique name and type name of this material.
|
String |
materialName()
Returns the material name
License requirements: studio_render ("UG STUDIO RENDER") . |
void |
moveComponent(int index,
String componentType,
boolean moveUp)
To move an component of layers up and down of layers stack.
|
boolean |
previewToggle()
Returns the preview toggle
License requirements: studio_render ("UG STUDIO RENDER") . |
void |
removeComponent(int index,
String componentType)
To remove an component to layers for specific layer index
Let material ''Varnished Cherry' for example:
If use changed the material has two Layers: Dir1 and ClearCoat.
|
void |
saveToSystemStudioMaterials(String saveXmlFileName)
To save to System Studio Materials
License requirements: studio_render ("UG STUDIO RENDER") . |
String[] |
setComponentParameter(String attribueName,
IrayPlusMatAttr attribueObject)
To set attribute object for specific fomatted attribute name
The string attribute name format should be :
"layer name-interface name-attribute name"
Let material ''Varnished Cherry' for example:
If user wants to set 'Base' component's attribueObject of 'Base-Colour-Colour'.
|
String[] |
setComponentParameterValue(String attribueName,
String attribueValue)
To set attribute value for specific fomatted attribute name
The string attribute name format should be :
"layer name-interface name-attribute name"
Let material ''Varnished Cherry' for example:
If user wants to set 'Base' component's value of 'Base-Colour-Colour'.
|
void |
setMaterialName(String materialName)
License requirements: studio_render ("UG STUDIO RENDER") . |
void |
setPreviewToggle(boolean toggleOn)
License requirements: studio_render ("UG STUDIO RENDER") . |
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
IrayPlusMaterialEditorBuilder.MaterialLayersInfoData getMaterialLayersInfo() throws NXException, RemoteException
NXException
RemoteException
IrayPlusMaterialEditorBuilder.ComponentInfoData getComponentInfo(String componentName) throws NXException, RemoteException
componentName
- NXException
RemoteException
IrayPlusMaterialEditorBuilder.AddComponentData addComponent(String componentType) throws NXException, RemoteException
componentType
- NXException
RemoteException
void removeComponent(int index, String componentType) throws NXException, RemoteException
index
- componentType
- NXException
RemoteException
void moveComponent(int index, String componentType, boolean moveUp) throws NXException, RemoteException
index
- componentType
- moveUp
- NXException
RemoteException
IrayPlusMatAttr getComponentParameter(String attribueName) throws NXException, RemoteException
attribueName
- NXException
RemoteException
String getComponentParameterValue(String attribueName) throws NXException, RemoteException
attribueName
- NXException
RemoteException
String[] setComponentParameter(String attribueName, IrayPlusMatAttr attribueObject) throws NXException, RemoteException
attribueName
- attribueObject
- NXException
RemoteException
String[] setComponentParameterValue(String attribueName, String attribueValue) throws NXException, RemoteException
attribueName
- attribueValue
- NXException
RemoteException
String materialName() throws NXException, RemoteException
NXException
RemoteException
void setMaterialName(String materialName) throws NXException, RemoteException
materialName
- NXException
RemoteException
boolean previewToggle() throws NXException, RemoteException
NXException
RemoteException
void setPreviewToggle(boolean toggleOn) throws NXException, RemoteException
toggleOn
- NXException
RemoteException
void saveToSystemStudioMaterials(String saveXmlFileName) throws NXException, RemoteException
saveXmlFileName
- NXException
RemoteException
void exportToXMLFile(String exportXmlFileName) throws NXException, RemoteException
exportXmlFileName
- NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.