1 |
cvsrabit |
1.1 |
VERSION 1.0 CLASS |
2 |
|
|
BEGIN |
3 |
|
|
MultiUse = -1 'True |
4 |
|
|
Persistable = 0 'NotPersistable |
5 |
|
|
DataBindingBehavior = 0 'vbNone |
6 |
|
|
DataSourceBehavior = 0 'vbNone |
7 |
|
|
MTSTransactionMode = 0 'NotAnMTSObject |
8 |
|
|
END |
9 |
|
|
Attribute VB_Name = "Class_Material" |
10 |
|
|
Attribute VB_GlobalNameSpace = False |
11 |
|
|
Attribute VB_Creatable = True |
12 |
|
|
Attribute VB_PredeclaredId = False |
13 |
|
|
Attribute VB_Exposed = False |
14 |
|
|
Option Explicit |
15 |
|
|
|
16 |
|
|
' --- public ---------------------------------------------------------------------------------------------- |
17 |
|
|
|
18 |
|
|
' --- private -------------------------------------------------------------------------------------------- |
19 |
|
|
|
20 |
|
|
Private prvclD3DTextureDiffuse As Direct3DTexture8 |
21 |
|
|
|
22 |
|
|
Private prvtpD3DMaterial As D3DMATERIAL8 |
23 |
|
|
' |
24 |
|
|
|
25 |
|
|
Public Property Let D3DTextureDiffuse(ByVal clD3DTextureDiffuse As Direct3DTexture8) |
26 |
|
|
|
27 |
|
|
Set prvclD3DTextureDiffuse = clD3DTextureDiffuse |
28 |
|
|
|
29 |
|
|
End Property |
30 |
|
|
|
31 |
|
|
Public Property Get D3DTextureDiffuse() As Direct3DTexture8 |
32 |
|
|
|
33 |
|
|
Set D3DTextureDiffuse = prvclD3DTextureDiffuse |
34 |
|
|
|
35 |
|
|
End Property |
36 |
|
|
|
37 |
|
|
Property Let D3DMaterial(ByRef tpD3DMaterial As D3DMATERIAL8) |
38 |
|
|
|
39 |
|
|
prvtpD3DMaterial = tpD3DMaterial |
40 |
|
|
|
41 |
|
|
End Property |
42 |
|
|
|
43 |
|
|
Property Get D3DMaterial() As D3DMATERIAL8 |
44 |
|
|
|
45 |
|
|
D3DMaterial = prvtpD3DMaterial |
46 |
|
|
|
47 |
|
|
End Property |