| Package | laya.d3.resource |
| Class | public class SolidColorTextureCube |
| Inheritance | SolidColorTextureCube BaseTexture laya.resource.Resource |
| Property | Defined By | ||
|---|---|---|---|
![]() | defaulteTexture : BaseTexture [read-only]
获取纹理资源。
| BaseTexture | |
![]() | format : int [read-only]
纹理格式
| BaseTexture | |
| grayTexture : SolidColorTextureCube [static] 灰色纯色纹理。 | SolidColorTextureCube | ||
![]() | height : int [read-only]
获取高度。
| BaseTexture | |
| magentaTexture : SolidColorTextureCube [static] 洋红色纯色纹理。 | SolidColorTextureCube | ||
![]() | magFifter : int
放大过滤器
| BaseTexture | |
![]() | minFifter : int
缩小过滤器
| BaseTexture | |
![]() | mipmap : Boolean
是否使用mipLevel
| BaseTexture | |
![]() | repeat : Boolean
是否使用重复模式纹理寻址
| BaseTexture | |
![]() | size : Size [read-only]
获取尺寸。
| BaseTexture | |
![]() | source : * [read-only]
获取纹理资源。
| BaseTexture | |
![]() | width : int [read-only]
获取宽度。
| BaseTexture | |
| Method | Defined By | ||
|---|---|---|---|
SolidColorTextureCube(color:Vector4) | SolidColorTextureCube | ||
| Method | Defined By | ||
|---|---|---|---|
detoryResource():void [override] | SolidColorTextureCube | ||
recreateResource():void [override] | SolidColorTextureCube | ||
| grayTexture | property |
public static var grayTexture:SolidColorTextureCube灰色纯色纹理。
| magentaTexture | property |
public static var magentaTexture:SolidColorTextureCube洋红色纯色纹理。
| SolidColorTextureCube | () | Constructor |
| detoryResource | () | method |
override protected function detoryResource():void| recreateResource | () | method |
override protected function recreateResource():void