Panda3D

- Main Page
- Packages
- Classes

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

Public Member Functions | Public Attributes

# scriptresource Class Reference

Inheritance diagram for scriptresource:

List of all members.

## Public Member Functions
def | __init__
def | __getattr__
def | asFilter
def | asSource
def | dependencies
## Public Attributes
| binaries
| modules

## Detailed Description

    A top-level python resource.

        Has (lazily computed) attributes, modules and binaries, which together
        are the scripts dependencies()

## Constructor & Destructor Documentation

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

Reimplemented in moduleresource.

## Member Function Documentation

def __getattr__ | ( |  | self,
|  |  | name
| ) |  |

def asFilter | ( |  | self | ) |

    Return a ModFilter based on self.

Reimplemented from resource.

def asSource | ( |  | self | ) |

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

Reimplemented from resource.

Reimplemented in moduleresource.

def dependencies | ( |  | self | ) |

    Return all dependencies (Python and binary) of self.

Reimplemented from resource.

## Member Data Documentation

binaries

modules

All Classes Namespaces Functions Variables Enumerations Enumerator Properties