...
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 | --TODO-- |
getUVWChannelProperties | Gets UVW channel properties. |
getGlobalXform | --TODO-- |
getGlobalNormalsXform | --TODO-- |
getInverseGlobalXform | --TODO-- |
getInverseGlobalNormalsXform | --TODO-- |
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 | --TODO-- |
cleanAllGeometryModifierExtensions | Clean all geometry modifier extensions applyed to the object. |
getGeometryLoaderExtensionParams | --TODO-- |
getGeometryProceturalExtensionParams | --TODO-- |
getGeometryModifierExtensionsNumber | Gets the number of geometry modifier extensions applied to the object. |
getGeometryModifierExtensionParamsAtIndex | --TODO-- |
Inherited methods
Anchor | ||||
---|---|---|---|---|
|
...
Gets the override policy for visibility flags. Flags are described in OVERRIDE_REFERENCE_FLAGS in maxwellenums.h.
Language | Syntax |
---|---|
C++ | byte getReferencedOverrideFlags( byte& flags ) |
Python | (int flags, int success) getReferencedOverrideFlags() |
...
Sets the override policy for visibility flags. Flags are described in OVERRIDE_REFERENCE_FLAGS in maxwellenums.h.
Language | Syntax |
---|---|
C++ | byte setReferencedOverrideFlags( byte& flags ) |
Python | int setReferencedOverrideFlags( int flags ) |
...
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() |
...
Anchor | ||||
---|---|---|---|---|
|
setSubdivisionLevel
Sets the subdivision level of the mesh.
Language | Syntax |
---|---|
C++ | byte setSubdivisionLevel( const dword& level ) |
Python | int setSubdivisionLevel( int level ) |
Return value
0 = Error
1 = Success
Anchor | ||||
---|---|---|---|---|
|
...
Language | Syntax |
---|---|
C++ | byte getSubdivisionLevel( dword& level ) |
Python | (int level, int success) getSubdivisionLevel() |
Return value
C++
0 = Error
1 = Success
Python
...
Language | Syntax |
---|---|
C++ | byte setGeometryDirty() |
Python | int setGeometryDirty() |
Return value
0 = Error setting geometry dirty.
...
Language | Syntax |
---|---|
C++ | byte initializeMesh( dword nVertex, dword nNormals, dword nFaces, dword positionsPerVertex ) |
Python | int initializeMesh( int nVertex, int nNormals, int nFaces, int positionsPerVertex ) |
Return value
0 = Error initializing mesh.
...
Language | Syntax |
---|---|
C++ | byte resizeMesh( dword newNVertex, dword newNNormals, dword newNFaces, dword newNpositionsPerVertex ) |
Python | int resizeMesh( int newNVertex, int newNNormals, int newNFaces, int newNpositionsPerVertex ) |
Return value
0 = Error resizing mesh.
1 = Success.
...
Language | Syntax |
---|---|
C++ | byte generateCustomUVW( dword iChannel, dword iGeneratorType ) |
Python | int generateCustomUVW( int iChannel, int iGeneratorType ) |
Return value
0 = Error generating custom UVW coordinates.
...
Language | Syntax |
---|---|
C++ | byte getUVWChannelProperties( dword iChannel, byte& projType, bool& customProj, Cbase& projectorBase, real& startLatitude, real& endLatitude, real& startLongitude, real& endLongitude, real& startAngle, real& endAngle, bool& mirrorBackFaces ) |
Python | (int projType, bool custumProj, Cbase projectorBase, float startLatitude, float endLatutide, float startLongitude, float endLongitude, float startAngle, float endAngle, bool mirrorBackFaces) getUVWChannelProperties( int iChannel ) |
Return value
C++
0 = Error getting UVW channel properties.
...
Return value
C++
0 = Error getting --TODO--
...
Return value
C++
0 = Error getting --TODO--
...
Return value
C++
0 = Error getting --TODO--
...
Language | Syntax |
---|---|
C++ | byte getInverseGlobalNormalXform( Cbase& ixForm ) |
Python | Cbase getInverseGlobalNormalXform() |
Return value
C++
0 = Error getting --TODO--
...
Language | Syntax |
---|---|
C++ | byte isGeometryLoader( bool& isGeomExtension ) |
Python | bool isGeometryLoader() |
Return value
C++
0 = Error checking object was created from a geometry loader extension.
...
Language | Syntax |
---|---|
C++ | byte isGeometryProcedural( bool& isGeomProceduralExtension ) |
Python | bool isGeometryProcedural() |
Return value
C++
0 = Error checking object was created from a procedural geometry extension.
...
Language | Syntax |
---|---|
C++ | byte hasGeometryModifiers( bool& isGeomModifiersExtension ) |
Python | bool hasGeometryModifiers() |
Return value
C++
0 = Error checking object have geometry modifiers (extensions).
...
Language | Syntax |
---|---|
C++ | byte cleanAllGeometryModifierExtensions() |
Python | int cleanAllGeometryModifierExtensions() |
Return value
0 = Error cleaning geometry modifier extensions.
...
Language | Syntax |
---|---|
C++ | byte getGeometryModifierExtensionsNumber( dword& numModifierExtensions ) |
Python | int getGeometryModifierExtensionsNumber() |
Return value
C++
0 = Error getting the number of geometry modifier extensions applied to the object.
...
Number of geometry modifier extensions applied to the object.
...