...
Name | Description |
---|---|
setPointer | Internal use. |
Cobject#freefree | Destroys the object. |
getName | Gets object name. |
setName | Sets object name. |
isMesh | Checks whether the object is a mesh. |
isInstance | Checks whether the object is an instance. |
getInstanced | Gets instance's parent. |
isRFRK | Checks whether the object is a RFRK object. |
getRFRKParameters | Gets ReaFlow RenderKit parameters. |
setRFRKParameters | Sets ReaFlow RenderKit parameters. |
getReferencedScenePath | Gets the scene file referenced by this object. |
setReferencedScenePath | Sets the scene file referenced by this object. |
getReferencedSceneMaterial | Gets the material of an specific object inside the referenced scene. |
setReferencedSceneMaterial | Sets the material of an specific object inside the referenced scene. |
getReferencedOverrideFlags | Get the override policy for visibility flags. |
setReferencedOverrideFlags | Set the override policy for visibility flags. |
mergeMeshes | Merges an array of meshes into a single mesh. Target object must not be included. |
getParent | Gets the parent object in the hierarchy. |
setParent | Sets the parent object in the hierarchy. |
getUuid | Unique user ID that can be used for custom purposes. |
setUuid | Sets the unique user ID. |
getMaterial | Gets the material applied. |
setMaterial | Sets the object material. |
setProperties | Sets the caustics properties of the object. |
Gets all the extern dependencies of the object (rfrk files, etc). | |
Geometry | |
getNumVertexes | Gets number of vertexes of the object. |
getNumTriangles | Gets number of triangles of the object. |
getNumNormals | Gets number of the normals of the object. |
getNumPositionsPerVertex | Gets number of positions per vertex of the object. |
getNumChannelsUVW | Gets number of UVW channels of the object. |
addChannelUVW | Adds an UVW channel to the object. |
generateSphericalUVW | Generates spherical UVW coordinates. |
generateCylindricalUVW | Generates cylindrical UVW coordinates. |
generateCubicUVW | Generates cubic UVW coordinates. |
generatePlanarUVW | Generates planar UVW coordinates. |
getVertex | Gets vertex by index. |
setVertex | Sets vertex by index. |
getNormal | Gets normal by index. |
setNormal | Sets normal by index. |
getTriangle | Gets triangle (vertexes and normals) by index. |
setTriangle | Sets triangle (vertexes and normals) by index. |
getTriangleGroup | Gets triangle group by index. |
setTriangleGroup | Sets triangle group. |
getTriangleUVW | Gets triangle UVW coordinates. |
setTriangleUVW | Sets triangle UVW coordinantes. |
getTriangleMaterial | Gets triangle material. |
setTriangleMaterial | Sets triangle material. |
getGroupMaterial | Gets material of a group of triangles. |
setGroupMaterial | Sets material of a group of triangles. |
getBaseAndPivot | Gets base and pivot axes of the object. |
setBaseAndPivot | Sets base and pivot axes of the object. |
getWorldTransform | Return the world transform of the object. |
getTransformSubstepsCount | Return the number of substeps used for defining Base and Pivot motion blur. |
getTransfrormStepInfoByIndex | Return transform information( base, pivot and time) for the given index. |
getPosition | Used by Maxwell Studio (not needed for rendering). |
setPosition | Used by Maxwell Studio (not needed for rendering). |
getRotation | Used by Maxwell Studio (not needed for rendering). |
setRotation | Used by Maxwell Studio (not needed for rendering). |
getScale | Used by Maxwell Studio (not needed for rendering). |
setScale | Used by Maxwell Studio (not needed for rendering). |
getShear | Used by Maxwell Studio (not needed for rendering). |
setShear | Used by Maxwell Studio (not needed for rendering). |
getPivotPosition | Used by Maxwell Studio (not needed for rendering). |
setPivotPosition | Used by Maxwell Studio (not needed for rendering). |
getPivotRotation | Used by Maxwell Studio (not needed for rendering). |
setPivotRotation | Used by Maxwell Studio (not needed for rendering). |
isPosRotScaleInitialized | Checks if the methods above have been used for the given object. |
cleanGeometry | Optional routine that removes degenerated triangles, repeated/unused vertex and normals. |
Display | |
getHide | Gets "hide" status of the object. |
setHide | Sets "hide" status of the object. |
getHideToCamera | Gets "hide to camera" status of the object. |
setHideToCamera | Sets "hide to camera" status of the object. |
getHideToReflectionsRefractions | Gets "hide to reflections and refractions" status of the object. |
setHideToReflectionsRefractions | Sets "hide to reflections and refractions" status of the object. |
getHideToGI | Gets "hide to global illumination" status of the object. |
setHideToGI | Gets "hide to global illumination" status of the object. |
isExcludedOfCutPlanes | Gets "excluded of cut planes" status of the object. |
excludeOfCutPlanes | Sets "excluded of cut planes" status of the object. |
getReferenceDisplayPoints | This function is useful to display a mesh on a viewport. |
setColorID | Sets the color used by this object in the Object ID render channel. |
getColorID | Gets the color used by this object in the Object ID render channel. |
setSubdivisionLevel | Sets the subdivision level of the mesh. |
getSubdivisionLevel | Gets the subdivision level of the mesh. |
setGeometryDirty | Set the geometry "dirty". |
getUserData | Internal use. |
setUserData | Internal use. |
getVertexesBuffer | Internal use. |
getNormalsBuffer | Internal use. |
getTrianglesBuffer | Internal use. |
initializeMesh | Clean the mesh and allocates memory for vertexes, normals, triangles and motion blur. |
resizeMesh | Reinitializes all the basic geometry and UV arrays. |
generateCustomUVW | |
getUVWChannelProperties | Gets UVW channel properties. |
getGlobalXform | |
getGlobalNormalsXform | |
getInverseGlobalXform | |
getInverseGlobalNormalsXform | |
isGeometryLoader | Checks if the object was created by a geometry loader extension. |
isGeometryProcedural | Checks if the object was created by a procedural geometry extension. |
hasGeometryModifiers | Checks if the object has geometry modifiers (extensions). |
applyGeometryModifierExtension | |
cleanAllGeometryModifierExtensions | Clean all geometry modifier extensions applyed to the object. |
getGeometryLoaderExtensionParams | |
getGeometryProceturalExtensionParams | |
getGeometryModifierExtensionsNumber | Gets the number of geometry modifier extensions applied to the object. |
getGeometryModifierExtensionParamsAtIndex |
...
Checks if any of the following methods have been used for the object: setPosition, setRotation, setScale, setShear, setPivotPosition and setPivotRotation. The correct way to transform the object is through the setBaseAndPivot method.
Language | Syntax |
---|---|
C++ | byte isPosRotScaleInitialized( bool& init ) |
Python | bool isPosRotScaleInitialized() |
...