Last updated on
May 24, 2023
- Substance 3D home
- Home
- Command Line Tools
- Command Line overview
- sbsbaker
- sbscooker
- sbsmtools
- sbsmutator
- sbsrender
- sbsupdater
- Command Line overview
- Pysbs - Python API
- Pysbs - Python API overview
- Getting started
- General topics
- Examples
- API Content
- API Content overview
- Substance definitions
- Common interfaces
- compnode
- context projectmgr
- graph
- mdl
- modelgraphindex
- modelannotationnames
- modelgraph
- modelgraphgenerator
- modelgraphimplementation
- modelnodenames
- modeloperand
- modulegraphindex
- moduleannotation
- moduleconnection
- modulegraph
- modulegraphgenerator
- modulegraphimplementation
- modulegraphlibrary
- modulegraphregister
- modulenode
- modulenodeimplementation
- modulenodeinstance
- moduleoperand
- moduleoutputbridging
- moduleparaminput
- params
- projectmgrdoc
- sbsarchive
- sbscommon
- sbspreset
- sbsproject
- substance
- Libraries
- sbsenum
- sbslibrary
- sbsbakerslibrary
- Helpers
- Execution context
- API Change log
- Samples
- Setup and Getting Started
- Integrations
- Substance Maya toolset
- Changelog overview
thumbnail
class batchtools.thumbnail.ThumbnailRenderSbsarUsages
Bases: object
AMBIENTOCCLUSION = ('ambientOcclusion',)
ANISOTROPYANGLE = ('anisotropyAngle',)
ANISOTROPYLEVEL = ('anisotropyLevel',)
BASECOLOR = ('baseColor',)
EMISSIVE = ('emissive',)
HEIGHT = ('height',)
METALLIC = ('metallic',)
NORMAL = ('normal',)
OPACITY = ('opacity',)
PHYSICALSIZE = ('physicalSize',)
ROUGHNESS = ('roughness',)
SPECULARLEVEL = ('specularLevel',)
batchtools.thumbnail.generate(aInput, aSize=(10, 10), aOutputPath=None, aThumbnailTemplate=None, aContext=None, aOutputInputMapping=None)
Generate a thumbnail for the given sbsar input. By default the connection between the input file and the thumbnail render sbsar is based on the usage names
Parameters: |
|
---|---|
Returns: | generated thumbnail output path |