Beispiel #1
0
    def __init__(self, image, repeat=None):
        if isinstance(image, TemporaryImage):
            image = image.script
        self.image = image
        com._check_uri(self.image)

        self.repeat = com.notimplemented(repeat)
Beispiel #2
0
    def __init__(self, url, modelMatrix, basePath=None, show=None,
                 scale=None, minimumPixelSize=None, maximumScale=None,
                 id=None, allowPicking=None, incrementallyLoadTextures=None,
                 asynchronous=None, debugShowBoundingVolume=None,
                 debugWireframe=None):

        self.url = url
        com._check_uri(self.url)

        self.modelMatrix = Transforms.eastNorthUpToFixedFrame(modelMatrix)

        self.basePath = basePath
        self.show = show
        self.scale = scale
        self.minimumPixelSize = minimumPixelSize
        self.maximumScale = maximumScale
        self.id = com.notimplemented(id)
        self.allowPicking = allowPicking
        self.incrementallyLoadTextures = incrementallyLoadTextures
        self.asynchronous = asynchronous
        self.debugShowBoundingVolume = debugShowBoundingVolume
        self.debugWireframe = debugWireframe
Beispiel #3
0
 def __init__(self, sourceUri):
     self.sourceUri = sourceUri
     com._check_uri(self.sourceUri)
Beispiel #4
0
 def __init__(self, image):
     self.image = image
     com._check_uri(self.image)