c4d.modules.render.InitRenderStruct¶
-
class
c4d.modules.render.InitRenderStruct¶
Attributes
-
c4d.modules.render.InitRenderStruct.version¶ [Read-only]
The version of Cinema 4D.
Type: int
-
c4d.modules.render.InitRenderStruct.fps¶ [Read-only]
The framerate.
Type: int
-
c4d.modules.render.InitRenderStruct.docpath¶ [Read-only]
The path for the document.
Type: str
-
c4d.modules.render.InitRenderStruct.vd¶ [Read-only]
The volume data.
Type: Optional[c4d.modules.render.VolumeData]
Note
Can be None, always check.
-
c4d.modules.render.InitRenderStruct.doc¶ [Read-only]
The document to render.
Type: Optional[c4d.documents.BaseDocument]
Note
Can be None, always check.
-
c4d.modules.render.InitRenderStruct.thread¶ [Read-only]
The current thread or None for the main Cinema 4D thread.
Type: Optional[c4d.threading.BaseThread]
-
c4d.modules.render.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.
-
c4d.modules.render.InitRenderStruct.linear_workflow¶ [Read/Write]
Changed in version R17.032: Attribute can be set.
Linear workflow enabled/disabled.
Type: bool
-
c4d.modules.render.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.
Overview¶
Initializes a new |
Members¶
Magic Methods¶
-
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.