Functions |
|
RpToonInk * | RpToonInkCreate (void) |
void | RpToonInkDestroy (RpToonInk *ink) |
void | RpToonInkAddRef (RpToonInk *ink) |
RpToonInk * | RpToonInkStreamRead (RwStream *stream) |
const RpToonInk * | RpToonInkStreamWrite (const RpToonInk *ink, RwStream *stream) |
RwReal | RpToonInkGetOverallThickness (const RpToonInk *ink) |
void | RpToonInkSetOverallThickness (RpToonInk *ink, RwReal thickness) |
RwRGBA | RpToonInkGetColor (const RpToonInk *ink) |
void | RpToonInkSetColor (RpToonInk *ink, RwRGBA color) |
const RwChar * | RpToonInkGetName (const RpToonInk *ink) |
void | RpToonInkSetName (RpToonInk *ink, const RwChar *name) |
RwReal | RpToonInkGetPerspectiveScale (const RpToonInk *ink) |
void | RpToonInkSetPerspectiveScale (RpToonInk *ink, RwReal perspectiveScale) |
RwReal | RpToonInkGetFarScale (const RpToonInk *ink) |
void | RpToonInkSetFarScale (RpToonInk *ink, RwReal farScale) |
|
RpToonInkAddRef is used to increment the reference count of an RpToonInk.
|
|
RpToonInkCreate is used to create a new RpToonInk with default values and a reference count of 1.
|
|
RpToonInkDestroy is used to destroy an RpToonInk. It decrements the ink's reference count, and if it's 0, it is destroyed.
|
|
RpToonInkGetColor is used to get an ink's color.
|
|
RpToonInkGetFarScale is used to get an ink's far scale thickness.
|
|
RpToonInkGetName is used to get an ink's name. Ink names are used as keys in RpToonInkDictionary objects.
|
|
RpToonInkGetOverallThickness is used to get an ink's thickness.
|
|
RpToonInkGetPerspectiveScale is used to get an ink's perspective scale.
|
|
RpToonInkSetColor is used to set an ink's color.
|
|
RpToonInkSetFarScale is used to set an ink's thickness with an RpAtomics distance to the camera. When the object is at the far clip plane, the ink thickness is multiplied by this factor, and this falls off to a multiplier of 1 (no effect) as the object approaches the near clip plane. This is useful to prevent the lines around an object from growing bigger than the object itself as it moves away from the camera, which generally looks horrible. Toon rendered world sectors ignore this attribute.
|
|
RpToonInkSetName is used to set an ink's name. Ink names are used as keys in RpToonInkDictionary objects.
|
|
RpToonInkSetOverallThickness is used to set an ink's thickness. Factors in the ink and toon geometry will be multiplied against this value when rendering to give the final thickness of a particular edge.
|
|
RpToonInkSetPerspectiveScale is used to affect an ink's thickness with distance to the camera per vertex. Lines near the camera will have their thicknesses multiplied by perspectiveScale. This will fall off to a multiplier of 1 (no effect) on lines far from the camera. For RpAtomics, these boundaries are at either extreme of the atomic's bound sphere. For world sectors, these boundaries are just the camera's clip planes. This is especially useful for landscapes or "forced perpective" on close ups of characters.
|
|
RpToonInkStreamRead is used to read an ink from the specified binary stream.
|
|
RpToonInkStreamWrite is used to write the specified ink to the given binary stream. The stream must have been opened prior to this function call.
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |