AGX Dynamics 2.42.1.1
Loading...
Searching...
No Matches
agxSensor::RtMaterial Class Reference

Base type for all surface, and transmission, materials used in raytracing. More...

#include <RaytraceMaterial.h>

+ Inheritance diagram for agxSensor::RtMaterial:

Public Member Functions

 RtMaterial ()
 Construct an invalid material.
 
 RtMaterial (RtMaterialInstance instance)
 Construct given instance.
 
RtMaterialHandleRef getHandle () const
 
RtMaterialHandle::Type getType () const
 
bool isValid () const
 
 operator RtMaterialInstance () const
 
bool operator!= (const RtMaterial &other) const
 
bool operator== (const RtMaterial &other) const
 

Detailed Description

Base type for all surface, and transmission, materials used in raytracing.

Definition at line 24 of file RaytraceMaterial.h.

Constructor & Destructor Documentation

◆ RtMaterial() [1/2]

agxSensor::RtMaterial::RtMaterial ( )
inline

Construct an invalid material.

Definition at line 75 of file RaytraceMaterial.h.

◆ RtMaterial() [2/2]

agxSensor::RtMaterial::RtMaterial ( RtMaterialInstance  instance)
inline

Construct given instance.

Definition at line 85 of file RaytraceMaterial.h.

Member Function Documentation

◆ getHandle()

RtMaterialHandleRef agxSensor::RtMaterial::getHandle ( ) const
inline
Returns
handle of this material in the raytrace environment

Definition at line 105 of file RaytraceMaterial.h.

References agxSensor::RtMaterialInstance::handle.

◆ getType()

RtMaterialHandle::Type agxSensor::RtMaterial::getType ( ) const
inline
Returns
the type of this material

Definition at line 110 of file RaytraceMaterial.h.

References agxSensor::RtMaterialInstance::type.

◆ isValid()

bool agxSensor::RtMaterial::isValid ( ) const
inline
Returns
true if valid, otherwise false

Definition at line 90 of file RaytraceMaterial.h.

References agxSensor::RtMaterialInstance::handle.

◆ operator RtMaterialInstance()

agxSensor::RtMaterial::operator RtMaterialInstance ( ) const
inline
Returns
raytrace material instance

Definition at line 115 of file RaytraceMaterial.h.

◆ operator!=()

bool agxSensor::RtMaterial::operator!= ( const RtMaterial other) const
inline

Definition at line 100 of file RaytraceMaterial.h.

◆ operator==()

bool agxSensor::RtMaterial::operator== ( const RtMaterial other) const
inline
Parameters
other- other material to compare
Returns
true if the instance handle of this material equals the other instance handle

Definition at line 95 of file RaytraceMaterial.h.

References agxSensor::RtMaterialInstance::handle.


The documentation for this class was generated from the following file: