Public Types | |
| enum | EVueObjectType { VOT_BoundingVolume, VOT_InfinitePlane, VOT_Plane, VOT_Cylinder, VOT_Sphere, VOT_Cube, VOT_Cone, VOT_Pyramid, VOT_Terrain, VOT_Mesh, VOT_Plant, VOT_CSGUnion, VOT_CSGIntersection, VOT_CSGDifference, VOT_Group, Reserved0, Reserved1, VOT_DirectionLight, VOT_PointLight, VOT_SpotLight, Reserved2, VOT_Camera, VOT_Torus, VOT_PointLight2, VOT_SpotLight2, VOT_AlphaPlane, VOT_Planet, VOT_SymmetricalTerrain, VOT_Stone, Reserved3, VOT_PythonObject, VOT_ParametricTerrain, Reserved4, Reserved5, Reserved6, VOT_Reference, VOT_ReferenceGroup, VOT_EcosystemInstanceProxy, VOT_Fan, VOT_Vegetation, VOT_AreaLight, VOT_VolumeCloud, VOT_MeshObject, VOT_SubdivMeshObject, VOT_BakedSubdivMesh, VOT_PlantSubdivMesh, VOT_MultiBakedMesh } |
Public Member Functions | |
| int | CountMaterials () |
| Returns the number of materials assigned to this object. | |
| EDisplayQuality | DisplayQuality () |
| Returns the draw quality used for the OpenGL previewing of the object in the viewports. | |
| VUEAggregate | GetAggregate () |
| Returns a VUEAggregate object if this object is actually a VUEAggregate else return None (a VUEAggregate may be a group or a boolean operation). | |
| int | GetLayer () |
| Returns the number of the layer that the object belongs to. | |
| VUEBasicObject | GetLinkParent () |
| Returns the object that this object is linked to, or None if this object is not linked. | |
| tuple_of_floats_x_y_z | GetRotationAngles () |
| Gets the rotation angles of the object. | |
| tuple_of_floats_x_y_z | GetScale () |
| Gets the scale of the object. | |
| VUEBasicObject | GetTrackParent () |
| Returns the object that is being tracked by this object, or None if no object is tracked. | |
| array_of_floats | GetTransformation () |
| Gets the matrix transformation. | |
| boolean | IsAutoPreviewColor () |
| Returns true if the preview color of the object reflects the average color of the material that is assigned to it. | |
| boolean | IsBooleanOperation () |
| Returns true if the object is a Boolean operation. | |
| boolean | IsCamera () |
| Returns true if the object is a camera. | |
| boolean | IsCloud () |
| Returns true if the object is a volume cloud object. | |
| boolean | IsFan () |
| Returns true if the object is a fan object. | |
| boolean | IsGroup () |
| Returns true if the object is a group of objects. | |
| boolean | IsHidden () |
| Returns true if the object is hidden. | |
| boolean | IsInfinitePlane () |
| Returns true if the object is an infinite plane. | |
| boolean | IsLight () |
| Returns true if the object is a light. | |
| boolean | IsLinkedOrTracks (VUEBasicObject pLinkOrTrackObject=None) |
| Checks if the object is linked or is tracking the object passed as argument. | |
| boolean | IsLinkedTo (VUEBasicObject pLinkedToObject=None) |
| Checks if the object is linked to the object passed as argument. | |
| boolean | IsLocked () |
| Returns true if the object is locked. | |
| boolean | IsMesh () |
| Returns true if the object is a polygon mesh. | |
| boolean | IsMetaball () |
| Returns true if the object is a metaball object. | |
| boolean | IsPlanet () |
| Returns true if the object is a planet. | |
| boolean | IsPlant () |
| Returns true if the object is a plant. | |
| boolean | IsPrimitive () |
| Returns true if the object is a primitive (e.g. Cube, Sphere, Cone, Torus...). | |
| boolean | IsPythonObject () |
| Returns true if the object is a python object. | |
| boolean | IsSelected () |
| Returns true if the object is selected. | |
| boolean | IsTarget () |
| Returns true if the object is a target. | |
| boolean | IsTerrain () |
| Returns true if the object is a terrain (or a symmetrical terrain). | |
| boolean | IsTracking (VUEBasicObject pTrackingObject=None) |
| Checks if the object is tracking the object passed as argument. | |
| VUEMaterial | Material (int nIndexInMatList) |
| Returns the material assigned to the object. | |
| int | MaterialIndex (int nIndexInMatList) |
| Returns the index of the material assigned to the object in the list of materials of the scene. | |
| str | MaterialName (int nIndexInMatList) |
| Returns the name of the material assigned to the object. | |
| None | Move (float x=10, float y=10, float z=10) |
| Moves the object along the world's X, Y and Z axes. | |
| None | MoveV (tuple_of_floats_x_y_z vTranslate) |
| Moves the object using a vector. | |
| str | Name () |
| Returns the name of the object. | |
| tuple_of_floats_x_y_z | Position () |
| Returns the position of the object in world coordinates. | |
| EPreviewColor | PreviewColor () |
| Returns the color used for previewing the object in the viewports. | |
| tuple_of_ints_r_g_b | RayTrace (tuple_of_floats_x_y_z vPos, tuple_of_floats_x_y_z vDir, float fDist, boolean bIsShadowRay) |
| Trace a ray through scene. | |
| None | Resize (float fScalingRatio=2) |
| Changes the size of the object uniformly. | |
| None | ResizeAxis (float x, float y, float z, boolean bScaleInObjectSpace=false) |
| Changes the size of the object with differentiated scaling ratios along the world's X, Y and Z axes. | |
| None | ResizeAxisV (tuple_of_floats_x_y_z vScale, boolean bScaleInObjectSpace=false) |
| Changes the size of the object with differentiated scaling ratios along the world's X, Y and Z axes, using a vector. | |
| None | Rotate (float x=0, float y=0, float z=15, boolean bRotateInObjectSpace=false) |
| Rotates the object around the X, Y and Z axes. | |
| None | RotateV (tuple_of_floats_x_y_z vAngles, boolean bRotateInObjectSpace=false) |
| Rotates the object around the X, Y and Z axes, using a vector. | |
| None | SetDisplayQuality (EDisplayQuality eNewQuality) |
| Sets the draw quality used for the OpenGL previewing of the object in the viewports. | |
| boolean | SetImpactAspectCallback (function fptrPythonImpactAspectCallback=None) |
| Sets a callback method that will be called each time the object is hit, for impact color and transparency. | |
| boolean | SetInitFrameCallback (function fptrPythonInitFrameCallback=None) |
| Sets a callback method that will be called each time the rendering of a new frame of the object begins. | |
| None | SetLinkFlags (boolean bLinkPosition=true, boolean bLinkRotation=true, boolean bLinkSize=true, boolean bLinkTwist=true) |
| Sets the type of linking between this object and the object it is linked to. | |
| None | SetLinkParent (VUEBasicObject pNewLinkParent=None) |
| Sets the object that this object will be linked to. | |
| boolean | SetMaterial (str cszMaterialName="Default", int nIndexInMatList=0) |
| Changes the material of the object. | |
| boolean | SetMaterialIndex (int nMaterialIndex, int nIndexInMatList) |
| Changes the material of the object to the material of the indicated index. | |
| None | SetName (str cszNewName) |
| Changes the name of the object. | |
| None | SetPivotPosition (float x=0, float y=0, float z=0) |
| Moves the object's pivot point along the world's X, Y and Z axes. | |
| None | SetPosition (float x=0, float y=0, float z=0) |
| Moves the object to a given location in world coordinates. | |
| None | SetPositionV (tuple_of_floats_x_y_z vPosition) |
| Moves the object to a given location in world coordinates, using a vector. | |
| None | SetPreviewColor (EPreviewColor eNewColor) |
| Sets the color used for previewing the object in the viewports. | |
| None | SetRotationAngles (float x=0, float y=0, float z=0, boolean bRotateInObjectSpace=false) |
| Rotates the object to a given orientation around the X, Y and Z axes. | |
| None | SetRotationAnglesV (tuple_of_floats_x_y_z vAngles, boolean bRotateInObjectSpace=false) |
| Rotates the object to a given orientation around the X, Y and Z axes, using a vector. | |
| None | SetTrackParent (VUEBasicObject pNewTrackParent=None) |
| Sets the object that this object will be tracking. | |
| None | SetTransformation (array_of_floats transformation) |
| Sets the matrix transformation. | |
| boolean | SetVolumetricDensityCallback (function fptrPythonVolumetricDensityCallback=None) |
| Sets a callback method that will be called each time Vue needs to integrate volumetric density through the object. | |
| VUEBakedSubdivMesh | ToBakedSubdivMesh () |
| Returns a VUEBakedSubdivMesh object if this object is actually a VUEBakedSubdivMesh else return None. | |
| VUECSG | ToBooleanOperation () |
| Returns a VUECSG object if this object is actually a VUECSG (a boolean operation) else return None. | |
| VUECamera | ToCamera () |
| Returns a VUECamera object if this object is actually a VUECamera else return None. | |
| VUEAggregate | ToGroup () |
| Returns a VUEAggregate object if this object is actually a VUEGroup else return None. | |
| VUEInfinitePlane | ToInfinitePlane () |
| Returns a VUEInfinitePlane object if this object is actually a VUEInfinitePlane else return None. | |
| VUELight | ToLight () |
| Returns a VUELight object if this object is actually a VUELight else return None. | |
| VUEMeshObject | ToMeshObject () |
| Returns a VUEMeshObject object if this object is actually a VUEMeshObject else return None. | |
| VUEPlanet | ToPlanet () |
| Returns a VUEPlanet object if this object is actually a VUEPlanet else return None. | |
| VUEPlant | ToPlant () |
| Returns a VUEPlant object if this object is actually a VUEPlant else return None. | |
| VUEPreanimatedGroup | ToPreanimatedGroup () |
| Returns a VUEPreanimatedGroup object if this object is actually a VUEPreanimatedGroup else return None. | |
| VUEBasicObject | ToPrimitive () |
| Returns the VUEBasicObject object version of this object if this object is a primitive (e.g. Cube, Sphere, Cone, Torus...) else return None. | |
| VUEPythonObject | ToPythonObject () |
| Returns a VUEPythonObject object if this object is actually a VUEPythonObject else return None. | |
| VUESubdivMeshObject | ToSubdivMesh () |
| Returns a VUESubdivMeshObject object if this object is actually a VUESubdivMeshObject else return None. | |
| VUETarget | ToTarget () |
| Returns a VUETarget object if this object is actually a VUETarget else return None. (VUETarget class: dummy object used by camera : distance between the former and the latter gives the focus distance involved in depth of field). | |
| VUETerrain | ToTerrain () |
| Returns a VUETerrain object if this object is actually a VUETerrain else return None. | |
| VUETorus | ToTorus () |
| Returns a VUETorus object if this object is actually a VUETorus else return None. | |
| None | Twist (float fZtoY=0, float fZtoX=0, float fYtoX=15) |
| Twists the object. | |
| EVueObjectType | Type () |
| Returns the type of the object. See EVueObjectType for possible values. | |
|
|
|
Returns the number of materials assigned to this object.
|
|
|
Returns the draw quality used for the OpenGL previewing of the object in the viewports.
|
|
|
Returns a VUEAggregate object if this object is actually a VUEAggregate else return None (a VUEAggregate may be a group or a boolean operation).
|
|
|
Returns the number of the layer that the object belongs to.
|
|
|
Returns the object that this object is linked to, or None if this object is not linked.
|
|
|
Gets the rotation angles of the object.
|
|
|
Gets the scale of the object.
|
|
|
Returns the object that is being tracked by this object, or None if no object is tracked.
|
|
|
Gets the matrix transformation.
|
|
|
Returns true if the preview color of the object reflects the average color of the material that is assigned to it.
|
|
|
Returns true if the object is a Boolean operation.
|
|
|
Returns true if the object is a camera.
|
|
|
Returns true if the object is a volume cloud object.
|
|
|
Returns true if the object is a fan object.
|
|
|
Returns true if the object is a group of objects.
|
|
|
Returns true if the object is hidden.
|
|
|
Returns true if the object is an infinite plane.
|
|
|
Returns true if the object is a light.
|
|
|
Checks if the object is linked or is tracking the object passed as argument. param pLinkOrTrackObject identifies the object will be tested.
|
|
|
Checks if the object is linked to the object passed as argument. param pLinkedToObject identifies the object that the link will be tested against.
|
|
|
Returns true if the object is locked.
|
|
|
Returns true if the object is a polygon mesh.
|
|
|
Returns true if the object is a metaball object.
|
|
|
Returns true if the object is a planet.
|
|
|
Returns true if the object is a plant.
|
|
|
Returns true if the object is a primitive (e.g. Cube, Sphere, Cone, Torus...).
|
|
|
Returns true if the object is a python object.
|
|
|
Returns true if the object is selected.
|
|
|
Returns true if the object is a target.
|
|
|
Returns true if the object is a terrain (or a symmetrical terrain).
|
|
|
Checks if the object is tracking the object passed as argument. param pTrackingObject identifies the object that the track will be tested against.
|
|
|
Returns the material assigned to the object.
|
|
|
Returns the index of the material assigned to the object in the list of materials of the scene.
|
|
|
Returns the name of the material assigned to the object.
|
|
||||||||||||||||
|
Moves the object along the world's X, Y and Z axes.
|
|
|
Moves the object using a vector.
|
|
|
Returns the name of the object.
|
|
|
Returns the position of the object in world coordinates.
|
|
|
Returns the color used for previewing the object in the viewports.
|
|
||||||||||||||||||||
|
Trace a ray through scene.
|
|
|
Changes the size of the object uniformly.
|
|
||||||||||||||||||||
|
Changes the size of the object with differentiated scaling ratios along the world's X, Y and Z axes.
|
|
||||||||||||
|
Changes the size of the object with differentiated scaling ratios along the world's X, Y and Z axes, using a vector.
|
|
||||||||||||||||||||
|
Rotates the object around the X, Y and Z axes.
|
|
||||||||||||
|
Rotates the object around the X, Y and Z axes, using a vector.
|
|
|
Sets the draw quality used for the OpenGL previewing of the object in the viewports.
|
|
|
Sets a callback method that will be called each time the object is hit, for impact color and transparency.
|
|
|
Sets a callback method that will be called each time the rendering of a new frame of the object begins.
|
|
||||||||||||||||||||
|
Sets the type of linking between this object and the object it is linked to.
|
|
|
Sets the object that this object will be linked to.
|
|
||||||||||||
|
Changes the material of the object.
SetMaterial("Flat black") will load the file "Basic\01_Flat black.mat" in your Vue Material folder SetMaterial("c:\Materials\MyMaterial.mat") will load the file MyMaterial from the Material folder and assign it to the object.
|
|
||||||||||||
|
Changes the material of the object to the material of the indicated index.
|
|
|
Changes the name of the object.
|
|
||||||||||||||||
|
Moves the object's pivot point along the world's X, Y and Z axes.
|
|
||||||||||||||||
|
Moves the object to a given location in world coordinates.
|
|
|
Moves the object to a given location in world coordinates, using a vector.
|
|
|
Sets the color used for previewing the object in the viewports.
|