Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CLwoClip Class Reference

This class is a wrapper around LwoClip and stores additional information useful during the conversion-to-egg process. More...

#include "cLwoClip.h"

Public Member Functions

 CLwoClip (LwoToEggConverter *converter, const LwoClip *clip)
 
 CPT (LwoClip) _clip
 
int get_index () const
 Returns the index number of this clip.
 
bool is_still_image () const
 Returns true if this clip represents a still image, as opposed to an animated image.
 

Public Attributes

LwoToEggConverter_converter
 
Filename _filename
 
bool _still_image
 

Detailed Description

This class is a wrapper around LwoClip and stores additional information useful during the conversion-to-egg process.

Definition at line 29 of file cLwoClip.h.

Constructor & Destructor Documentation

◆ CLwoClip()

CLwoClip::CLwoClip ( LwoToEggConverter * converter,
const LwoClip * clip )

Definition at line 25 of file cLwoClip.cxx.

Member Function Documentation

◆ get_index()

int CLwoClip::get_index ( ) const
inline

Returns the index number of this clip.

Each clip in a Lightwave object file should have a unique index number.

Definition at line 18 of file cLwoClip.I.

◆ is_still_image()

bool CLwoClip::is_still_image ( ) const
inline

Returns true if this clip represents a still image, as opposed to an animated image.

If this is true, _filename will contain the image filename.

Definition at line 28 of file cLwoClip.I.

Referenced by CLwoSurface::check_texture().

Member Data Documentation

◆ _converter

LwoToEggConverter* CLwoClip::_converter

Definition at line 36 of file cLwoClip.h.

◆ _filename

Filename CLwoClip::_filename

Definition at line 39 of file cLwoClip.h.

◆ _still_image

bool CLwoClip::_still_image

Definition at line 40 of file cLwoClip.h.


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