FormIt Plugin API
v23.0.0 (2023.0.0)
|
FormIt.MaterialProvider namespace.
Functions | |
json | MaterialData (color, textureData, scale, useAlpha, materialName, materialIdentifier, textureName, aAdditionalRenderData, aAdditionalTextures) |
json | CreateMaterial (libraryType, materialData) |
Creates a new material from the given data. More... | |
json | GetMaterialData (libraryType, materialId, excludeTextureData) |
Get the material data for the given material id. More... | |
json | SetMaterialData (libraryType, materialId, materialData, excludeTextureData) |
Sets the material data. More... | |
json | GetMaterialName (libraryType, materialId) |
Get the material name for the given material id. More... | |
json | GetMaterials (libraryType) |
GetMaterials returns all the available materials. More... | |
json | DeleteMaterials (libraryType, materialIds) |
Deletes a list of given materials. More... | |
json | GetMaterialPreviewImage (libraryType, materialId) |
Get the preview image for the material. More... | |
json | IsValidMaterialName (libraryType, materialId, newName, errorMsg) |
json | GetNewMaterialName (libraryType, baseName) |
Returns a material name that is guaranteed not to exist. More... | |
json | IsValidMaterial (libraryType, materialId) |
Check whether the material with the given id exists. More... | |
json | CanModify (libraryType, materialId) |
Returns if a given material is modifiable (in some cases a material is marked as ReadOnly). More... | |