Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions

# moduleresource Class Reference

Inheritance diagram for moduleresource:

List of all members.

## Public Member Functions
def | __init__
def | asBinary
def | asSource

## Detailed Description

    A module resource (differs from script in that it will generally
        be worked with as a .pyc instead of in source form)

## Constructor & Destructor Documentation

def __init__ | ( |  | self,
|  |  | name,
|  |  | fullname
| ) |  |

Reimplemented from scriptresource.

## Member Function Documentation

def asBinary | ( |  | self | ) |

    Return self as a dataresource (ie, a binary file wrapper).

Reimplemented from resource.

def asSource | ( |  | self | ) |

    Return self as a scriptresource (ie, uncompiled form).

Reimplemented from scriptresource.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties