Gets point light properties.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetPointLightProperties( _
ByVal Name As String, _
ByRef Ambient As Double, _
ByRef Diffuse As Double, _
ByRef Specular As Double, _
ByRef Colour As Integer, _
ByRef Enabled As Boolean, _
ByRef Fixed As Boolean, _
ByRef X As Double, _
ByRef Y As Double, _
ByRef Z As Double _
) As Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IModelDoc2
Dim Name As String
Dim Ambient As Double
Dim Diffuse As Double
Dim Specular As Double
Dim Colour As Integer
Dim Enabled As Boolean
Dim Fixed As Boolean
Dim X As Double
Dim Y As Double
Dim Z As Double
Dim value As Boolean
value = instance.GetPointLightProperties(Name, Ambient, Diffuse, Specular, Colour, Enabled, Fixed, X, Y, Z)
|
Parameters
- Name
Light name
- Ambient
Light source ambient value
- Diffuse
Light source diffuse value
- Specular
Light source specular value
- Colour
COLORREF color value
- Enabled
True if a light is enabled, false if not
- Fixed
True if a light is fixed, false if not
- X
x location of the point light
- Y
y location of the point light
- Z
- z location of the point li
Return Value
True if light properties determined without a problem, false if not
See Also
Availability
SolidWorks 2001Plus FCS, Revision Number 10.0