write method
Contents
[
Hide
]write(self, mat)
Write the matrix to the constant
def write(self, mat):
...
| Parameter | Type | Description |
|---|---|---|
| mat | aspose.threed.utilities.FMatrix4 | The matrix to write |
write(self, n)
Write a int value to the constant
def write(self, n):
...
| Parameter | Type | Description |
|---|---|---|
| n | int |
write(self, f)
Write a float value to the constant
def write(self, f):
...
| Parameter | Type | Description |
|---|---|---|
| f | float |
write(self, vec)
Write a 4-component vector to the constant
def write(self, vec):
...
| Parameter | Type | Description |
|---|---|---|
| vec | aspose.threed.utilities.FVector4 |
write(self, vec)
Write a 3-component vector to the constant
def write(self, vec):
...
| Parameter | Type | Description |
|---|---|---|
| vec | aspose.threed.utilities.FVector3 |
write(self, x, y, z, w)
Write a 4-component vector to the constant
def write(self, x, y, z, w):
...
| Parameter | Type | Description |
|---|---|---|
| x | float | |
| y | float | |
| z | float | |
| w | float |
See Also
- module
aspose.threed.render - class
PushConstant