...
Name | Description |
---|---|
setPointer | Internal use. |
Cobject#free | 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 RealFlow 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. |
mergeMeshes | Merges an array of meshes into a single mesh. Target object must not be included. |
getParent | |
setParent | |
getUuid | |
setUuid | |
getMaterial | |
setMaterial | |
getProperties | |
setProperties | |
getDependencies | |
Geometry | |
getNumVertexes | |
getNumTriangles | |
getNumNormals | |
getNumPositionsPerVertex | |
getNumChannelsUVW | |
addChannelUVW | |
generateSphericalUVW | |
generateCylindricalUVW | |
generateCubicUVW | |
generatePlanarUVW | |
getVertex | |
setVertex | |
getNormal | |
setNormal | |
getTriangle | |
setTriangle | |
getTriangleGroup | |
setTriangleGroup | |
getTriangleUVW | |
setTriangleUVW | |
getTriangleMaterial | |
setTriangleMaterial | |
getGroupMaterial | |
setGroupMaterial | |
getBaseAndPivot | |
setBaseAndPivot | |
getWorldTransform | |
getTransformSubstepsCount | |
getTransfrormStepInfoByIndex | |
getPosition | |
setPosition | |
getRotation | |
setRotation | |
getScale | |
setScale | |
getShear | |
setShear | |
getPivotPosition | |
setPivotPosition | |
getPivotRotation | |
setPivotRotation | |
isPosRotScaleInitialized | |
cleanGeometry | |
Display | |
getHide | |
setHide | |
getHideToCamera | |
setHideToCamera | |
getHideToReflectionsRefractions | |
setHideToReflectionsRefractions | |
getHideToGI | |
setHideToGI | |
isExcludedOfCutPlanes | |
excludeOfCutPlanes | |
getProxyDisplayPoints | |
setColorID | |
getColorID | |
setGeometryDirty | |
getUserData | |
setUserData | |
getVertexesBuffer | |
getNormalsBuffer | |
getTrianglesBuffer | |
initializeMesh | |
resizeMesh | |
generateCustomUVW | |
getUVWChannelProperties | |
getGlobalXform | |
getGlobalNormalsXform | |
getInverseGlobalXform | |
getInverseGlobalNormalsXform | |
isGeometryLoader | |
isGeometryProcedural | |
hasGeometryModifiers | |
applyGeometryModifierExtension | |
cleanAllGeometryModifierExtensions | |
getGeometryLoaderExtensionParams | |
getGeometryProceturalExtensionParams | |
getGeometryModifierExtensionNumber | |
getGeometryModifierExtensionParamsAtIndex |
...
Merges an array of meshes into a single mesh. The original meshes are not removed (it can be done later calling Cmaxwell::Cobject::free() ). The target object must not be included in the mesh list.
Language | Syntax |
---|---|
C++ | byte mergeMeshes( const Cobject* pMeshes, dword nMeshes ) |
Python | int mergeMeshes( CmaxwellObject list meshes ) |
...
Code Block | ||||
---|---|---|---|---|
| ||||
meshes = [] meshes.append( scene.getObject("sphere") ); meshes.append( scene.getObject("cube") ); scene.getObject("cubesphere").mergeMeshes( meshes ); scene.getObject("sphere").free(); scene.getObject("cube").free(); |
...