c4d.modules.render.InitRenderStruct¶
-
class
c4d.modules.render.InitRenderStruct¶
Attributes
InitRenderStruct.version¶[Read-only]
The version of Cinema 4D.
Type: int
InitRenderStruct.fps¶[Read-only]
The framerate.
Type: int
InitRenderStruct.docpath¶[Read-only]
The path for the document.
Type: str
InitRenderStruct.vd¶[Read-only]
The volume data.
Type: Optional[c4d.modules.render.VolumeData]
Note
Can be None, always check.
InitRenderStruct.doc¶[Read-only]
The document to render.
Type: Optional[c4d.documents.BaseDocument]
Note
Can be None, always check.
InitRenderStruct.thread¶[Read-only]
The current thread or None for the main Cinema 4D thread.
Type: Optional[c4d.threading.BaseThread]
InitRenderStruct.flags¶[Read-only]
Flags:
INITRENDERFLAG_NONE
No flags.
INITRENDERFLAG_TEXTURES
Use textures.
INITRENDERFLAG_PAINTERNOMIP
Disable MIP for painting.
INITRENDERFLAG_NOMIP
Disable MIP.
INITRENDERFLAG_PREVIEWRENDER
Preview render.
INITRENDERFLAG_IRR
Interactive region render.
InitRenderStruct.linear_workflow¶[Read/Write]
Changed in version R17.032: Attribute can be set.
Linear workflow enabled/disabled.
Type: bool
InitRenderStruct.document_colorprofile¶[Read/Write]
Changed in version R17.032: Attribute can be set.
The color profile of the document:
DOCUMENT_COLORPROFILE_SRGB
sRGB color profile.
DOCUMENT_COLORPROFILE_LINEAR
Linear color profile.
DOCUMENT_COLORPROFILE_DISABLED
Color profile disabled.
Methods Signatures
Initializes a new |
Methods Documentation
-
InitRenderStruct.__init__(self, doc)¶ Initializes a new
InitRenderStruct, optionally from docBaseDocumentif passed.New in version R18.020.
- Parameters
doc (c4d.documents.BaseDocument) – The optional document to initialize with.