Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescription
setPointerInternal use.
Cobject#freeDestroys the object.
getNameGets object name.
setNameSets object name.
isMeshChecks whether the object is a mesh.
isInstanceChecks whether the object is an instance.
getInstancedGets instance's parent.
isRFRKChecks whether the object is a RFRK object.
getRFRKParametersGets ReaFlow RenderKit parameters.
setRFRKParametersSets RealFlow RenderKit parameters.
getReferencedScenePathGets the scene file referenced by this object.
setReferencedScenePathSets the scene file referenced by this object.
getReferencedSceneMaterialGets the material of an specific object inside the referenced scene.
setReferencedSceneMaterialSets the material of an specific object inside the referenced scene.
mergeMeshesMerges an array of meshes into a single mesh. Target object must not be included.
getParentGets the parent object in the hierarchy.
setParentSets the parent object in the hierarchy.
getUuidUnique user ID that can be used for custom purposes.
setUuidSets the unique user ID.
getMaterialGets the material applied.
setMaterialSets the object material.
setPropertiesSets the caustics properties of the object.

getDependencies

Gets all the extern dependencies of the object (rfrk files, etc).
Geometry
getNumVertexesGets number of vertexes of the object.
getNumTrianglesGets number of triangles of the object.
getNumNormalsGets number of the normals of the object.
getNumPositionsPerVertexGets number of positions per vertex of the object.
getNumChannelsUVWGets number of UVW channels of the object.
addChannelUVWAdds an UVW channel to the object.
generateSphericalUVWGenerates spherical UVW coordinates.
generateCylindricalUVWGenerates cylindrical UVW coordinates.
generateCubicUVWGenerates cubic UVW coordinates.
generatePlanarUVWGenerates planar UVW coordinates.
getVertexGets vertex by index.
setVertexSets vertex by index.
getNormalGets normal by index.
setNormalSets normal by index.
getTriangleGets triangle (vertexes and normals) by index.
setTriangleSets triangle (vertexes and normals) by index.
getTriangleGroupGets triangle group by index.
setTriangleGroupSets triangle group.
getTriangleUVWGets triangle UVW coordinates.
setTriangleUVWSets triangle UVW coordinantes.
getTriangleMaterialGets triangle material.
setTriangleMaterialSets triangle material.
getGroupMaterialGets material of a group of triangles.
setGroupMaterialSets material of a group of triangles.
getBaseAndPivotGets base and pivot axes of the object.
setBaseAndPivotSets base and pivot axes of the object.
getWorldTransformReturn the world transform of the object.
getTransformSubstepsCountReturn the number of substeps used for defining Base and Pivot motion blur.
getTransfrormStepInfoByIndexReturn transform information( base, pivot and time) for the given index.
getPositionUsed by Maxwell Studio (not needed for rendering).
setPositionUsed by Maxwell Studio (not needed for rendering).
getRotationUsed by Maxwell Studio (not needed for rendering).
setRotationUsed by Maxwell Studio (not needed for rendering).
getScaleUsed by Maxwell Studio (not needed for rendering).
setScaleUsed by Maxwell Studio (not needed for rendering).
getShearUsed by Maxwell Studio (not needed for rendering).
setShearUsed by Maxwell Studio (not needed for rendering).
getPivotPositionUsed by Maxwell Studio (not needed for rendering).
setPivotPositionUsed by Maxwell Studio (not needed for rendering).
getPivotRotationUsed by Maxwell Studio (not needed for rendering).
setPivotRotationUsed by Maxwell Studio (not needed for rendering).
isPosRotScaleInitializedChecks if the methods above have been used for the given object.
cleanGeometryOptional routine that removes degenerated triangles, repeated/unused vertex and normals.
Display
getHideGets "hide" status of the object.
setHideSets "hide" status of the object.
getHideToCameraGets "hide to camera" status of the object.
setHideToCameraSets "hide to camera" status of the object.
getHideToReflectionsRefractionsGets "hide to reflections and refractions" status of the object.
setHideToReflectionsRefractionsSets "hide to reflections and refractions" status of the object.
getHideToGIGets "hide to global illumination" status of the object.
setHideToGIGets "hide to global illumination" status of the object.
isExcludedOfCutPlanesGets "excluded of cut planes" status of the object.
excludeOfCutPlanesSets "excluded of cut planes" status of the object.
getProxyDisplayPointsThis function is useful to display a mesh on a viewport.
setColorIDSets the color used by this object in the Object ID render channel.
getColorIDGets the color used by this object in the Object ID render channel.
setGeometryDirtySet the geometry "dirty".
getUserDataInternal use.
setUserDataInternal use.
getVertexesBufferInternal use.
getNormalsBufferInternal use.
getTrianglesBufferInternal use.
initializeMeshClean the mesh and allocates memory for vertexes, normals, triangles and motion blur.
resizeMeshReinitializes all the basic geometry and UV arrays.
generateCustomUVW --TODO--
getUVWChannelProperties Gets UVW channel properties.
getGlobalXform --TODO--
getGlobalNormalsXform --TODO--
getInverseGlobalXform --TODO--
getInverseGlobalNormalsXform --TODO--
isGeometryLoaderChecks if the object was created by a geometry loader extension.
isGeometryProceduralChecks if the object was created by a procedural geometry extension.
hasGeometryModifiersChecks if the object has geometry modifiers (extensions).
applyGeometryModifierExtension--TODO--
cleanAllGeometryModifierExtensionsClean all geometry modifier extensions applyed to the object.
getGeometryLoaderExtensionParams--TODO--
getGeometryProceturalExtensionParams--TODO--
getGeometryModifierExtensionNumber getGeometryModifierExtensionsNumberGets the number of geometry modifier extensions applied to the object.
getGeometryModifierExtensionParamsAtIndex--TODO--

Inherited methods

isNull.

Anchor
free
free

free

Destroys the object.

...

Return value

0 = Error resizing mesh.

1 = Success.

Anchor
generatecustomuvw
generatecustomuvw

generateCustomUVW

--TODO--.

LanguageSyntax
C++byte generateCustomUVW( dword iChannel, dword iGeneratorType )
Pythonint generateCustomUVW( int iChannel, int iGeneratorType )

Return value

0 = Error generating custom UVW coordinates.

1 = Success.

 

 

 

 

 

Anchor
getuvwchannelproperties
getuvwchannelproperties

getUVWChannelProperties

--TODO--.

LanguageSyntax
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 )
Pythondict getUVWChannelProperties( int iChannel )

Return value

C++

0 = Error getting UVW channel properties.

1 = Success.

Python

Dictionary containing the UVW channel properties ('startLatitude', 'endLatutide', 'startLongitude', 'endLongitude', 'startAngle', 'endAngle', 'mirrorBackFaces')

Anchor
getglobalxform
getglobalxform

getGlobalXform

--TODO--.

LanguageSyntax
C++byte getGlobalXform( Cbase& xForm )
PythonCbase getGlobalXform()

Return value

C++

0 = Error getting  --TODO--

1 = Success.

Python

Cbase containing --TODO--

Anchor
getglobalnormalsxform
getglobalnormalsxform

getGlobalNormalsXform

--TODO--.

LanguageSyntax
C++byte getGlobalNormalsXform( Cbase& xForm )
PythonCbase getGlobalNormalsXform()

Return value

C++

0 = Error getting  --TODO--

1 = Success.

Python

Cbase containing --TODO--

Anchor
getinverseglobalxform
getinverseglobalxform

getInverseGlobalXform

--TODO--.

LanguageSyntax
C++byte getInverseGlobalXform( Cbase& ixForm )
PythonCbase getInverseGlobalXform()

Return value

C++

0 = Error getting  --TODO--

1 = Success.

Python

Cbase containing --TODO--

Anchor
getinverseglobalnormalxform
getinverseglobalnormalxform

getInverseGlobalNormalXform

--TODO--.

LanguageSyntax
C++byte getInverseGlobalNormalXform( Cbase& ixForm )
PythonCbase getInverseGlobalNormalXform()

Return value

C++

0 = Error getting  --TODO--

1 = Success.

Python

Cbase containing --TODO--

Anchor
isgeometryloader
isgeometryloader

isGeometryLoader

Checks if the object was created by a geometry loader extension.

LanguageSyntax
C++byte isGeometryLoader( bool& isGeomExtension )
Pythonbool isGeometryLoader()

Return value

C++

0 = Error checking object was created from a geometry loader extension.

1 = Success.

Python

True = the object was created by a geometry loader extension.

Anchor
isgeometryprocedural
isgeometryprocedural

isGeometryProcedural

Checks if the object was created by a procedural geometry extension.

LanguageSyntax
C++byte isGeometryProcedural( bool& isGeomProceduralExtension )
Pythonbool isGeometryProcedural()

Return value

C++

0 = Error checking object was created from a procedural geometry extension.

1 = Success.

Python

True = the object was created by a procedural geometry extension.

Anchor
hasgeometrymodifiers
hasgeometrymodifiers

hasGeometryModifiers

Checks if the object has geometry modifiers (extensions).

LanguageSyntax
C++byte hasGeometryModifiers( bool& isGeomModifiersExtension )
Pythonbool hasGeometryModifiers()

Return value

C++

0 = Error checking object have geometry modifiers (extensions).

1 = Success.

Python

True = the object have geometry modifiers (extensions).

Anchor
cleanallgeometrymodifierextensions
cleanallgeometrymodifierextensions

cleanAllGeometryModifierExtensions

Clean all geometry modifier extensions applyed to the object.

LanguageSyntax
C++byte cleanAllGeometryModifierExtensions()
Pythonint cleanAllGeometryModifierExtensions()

Return value

0 = Error cleaning geometry modifier extensions.

1 = Success.

Anchor
getgeometrymodifierextensionsnumber
getgeometrymodifierextensionsnumber

getGeometryModifierExtensionsNumber

Gets the number of geometry modifier extensions applied to the object.

LanguageSyntax
C++byte getGeometryModifierExtensionsNumber( dword& numModifierExtensions )
Pythonint getGeometryModifierExtensionsNumber()

Return value

C++

0 = Error getting the number of geometry modifier extensions applied to the object.

1 = Success.

Python

Number of geometry modifier extensions applied to the object.