31 INLINE
explicit CardMaker(
const std::string &name);
35 void set_uv_range(
const LTexCoord &ll,
const LTexCoord &ur);
36 void set_uv_range(
const LTexCoord &ll,
const LTexCoord &lr,
const LTexCoord &ur,
const LTexCoord &ul);
37 void set_uv_range(
const LTexCoord3 &ll,
const LTexCoord3 &lr,
const LTexCoord3 &ur,
const LTexCoord3 &ul);
38 void set_uv_range(
const LVector4 &x,
const LVector4 &y,
const LVector4 &z);
39 void set_uv_range_cube(
int face);
40 void set_uv_range(
const Texture *tex);
42 INLINE
void set_has_uvs(
bool flag);
43 INLINE
void set_has_3d_uvs(
bool flag);
45 INLINE
void set_frame(PN_stdfloat left, PN_stdfloat right, PN_stdfloat bottom, PN_stdfloat top);
46 INLINE
void set_frame(
const LVecBase4 &frame);
47 INLINE
void set_frame(
const LVertex &ll,
const LVertex &lr,
const LVertex &ur,
const LVertex &ul);
48 INLINE
void set_frame_fullscreen_quad();
50 INLINE
void set_color(PN_stdfloat r, PN_stdfloat g, PN_stdfloat b, PN_stdfloat a);
51 INLINE
void set_color(
const LColor &color);
53 INLINE
void set_has_normals(
bool flag);
55 INLINE
void set_source_geometry(
PandaNode *node,
const LVecBase4 &frame);
56 INLINE
void clear_source_geometry();
63 bool _has_uvs, _has_3d_uvs;
64 LVertex _ul_tex, _ll_tex, _lr_tex, _ur_tex;
65 LTexCoord3 _ul_pos, _ll_pos, _lr_pos, _ur_pos;
73 LVecBase4 _source_frame;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Represents a texture object, which is typically a single 2-d image but may also represent a 1-d or 3-...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for all things which can have a name.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class generates 2-d "cards", that is, rectangular polygons, particularly useful for showing text...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.