c4d.LodObject
¶
New in version R19.
See also
c4d.
LodObject
¶
LodObject.GetShowControlDescID()
LodObject.GetManualModeObjectListDescID()
LodObject.GetSimplifyModeDescID()
LodObject.GetDecimateStrengthDescID()
LodObject.GetPerObjectControlDescID()
LodObject.GetNullDisplayDescID()
LodObject.GetNullRadiusDescID()
LodObject.GetNullAspectRatioDescID()
LodObject.GetNullOrientationDescID()
LodObject.GetDisplayStModeDescID()
LodObject.GetDisplayShModeDescID()
LodObject.GetDisplayBFCDescID()
LodObject.GetDisplayTexDescID()
LodObject.GetDisplayEOGLDescID()
c4d.BaseObject
LodObject.
__init__
(
)
¶
Creates a LOD object.
Return type: | c4d.LodObject |
---|---|
Returns: | The new LOD object. |
LodObject.
GetCurrentLevel
(
)
¶
Queries the current LOD level.
Return type: | int |
---|---|
Returns: | The current LOD level index, or NOTOK / -1 in error case. |
LodObject.
GetLevelCount
(
)
¶
Queries the current number of LOD levels.
Return type: | int |
---|---|
Returns: | The current LOD level count, or NOTOK / -1 in error case. |
LodObject.
GetShowControlDescID
(
level
)
¶
Calculates the dynamic description ID of the show control for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetManualModeObjectListDescID
(
level
)
¶
Calculates the dynamic description ID of the object list for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetSimplifyModeDescID
(
level
)
¶
Calculates the dynamic description ID of the simplify mode for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetDecimateStrengthDescID
(
level
)
¶
Calculates the dynamic description ID of the decimation strength for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetPerObjectControlDescID
(
level
)
¶
Calculates the dynamic description ID of the per object control for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetNullDisplayDescID
(
level
)
¶
Calculates the dynamic description ID of the NullObject Display control for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetNullRadiusDescID
(
level
)
¶
Calculates the dynamic description ID of the NullObject Radius control for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetNullAspectRatioDescID
(
level
)
¶
Calculates the dynamic description ID of the NullObject Aspect Ratio control for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetNullOrientationDescID
(
level
)
¶
Calculates the dynamic description ID of the NullObject Orientation control for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetDisplayStModeDescID
(
level
)
¶
Calculates the dynamic description ID of the Display Style Mode control for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetDisplayShModeDescID
(
level
)
¶
Calculates the dynamic description ID of the Display Shading Mode control for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetDisplayBFCDescID
(
level
)
¶
Calculates the dynamic description ID of the Display Backface Culling control for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetDisplayTexDescID
(
level
)
¶
Calculates the dynamic description ID of the Display Texture control for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |
LodObject.
GetDisplayEOGLDescID
(
level
)
¶
Calculates the dynamic description ID of the Display Extended OGL control for the passed LOD level .
Parameters: | level ( int ) – The LOD level. |
---|---|
Return type: | c4d.DescID |
Returns: | The resulting description ID, if mode and criteria are compatible with the requested parameter, otherwise None . |