Exemplo n.º 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)
Exemplo n.º 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
Exemplo n.º 3
0
 def __init__(self, sourceUri):
     self.sourceUri = sourceUri
     com._check_uri(self.sourceUri)
Exemplo n.º 4
0
 def __init__(self, image):
     self.image = image
     com._check_uri(self.image)