Search
Preparing search index...
The search index is not available
OpenCascade.js - v2.0.0-beta.533428a
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
OpenCascade.js - v2.0.0-beta.533428a
V3d_SpotLight
Class V3d_SpotLight
Hierarchy
V3d_PositionLight
V3d_SpotLight
V3d_SpotLight_1
V3d_SpotLight_2
Index
Constructors
constructor
Methods
Angle
Attenuation
Color
Concentration
Const
Attenuation
Copy
From
Decrement
Ref
Counter
Delete
Direction_
1
Direction_
2
Display
Position
Dump
Json
Dynamic
Type
Get
Id
Get
Ref
Count
Has
Range
Headlight
Increment
Ref
Counter
Intensity
Is
Enabled
Is
Headlight
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Linear
Attenuation
Name
Packed
Color
Packed
Direction
Packed
Direction
Range
Packed
Params
Position_
1
Position_
2
Range
Revision
Set
Angle
Set
Attenuation
Set
Cast
Shadows
Set
Color
Set
Concentration
Set
Direction_
1
Set
Direction_
2
Set
Direction_
3
Set
Display
Position
Set
Enabled
Set
Headlight
Set
Intensity
Set
Name
Set
Position_
1
Set
Position_
2
Set
Range
Set
Smooth
Angle
Set
Smooth
Radius
Smoothness
This
To
Cast
Shadows
Type
delete
get_
type_
descriptor
get_
type_
name
Constructors
constructor
new
V3d_
Spot
Light
(
theType
:
V3d_TypeOfLight
)
:
V3d_SpotLight
Parameters
theType:
V3d_TypeOfLight
Returns
V3d_SpotLight
Methods
Angle
Angle
(
)
:
number
Returns
number
Attenuation
Attenuation
(
theConstAttenuation
:
number
, theLinearAttenuation
:
number
)
:
void
Parameters
theConstAttenuation:
number
theLinearAttenuation:
number
Returns
void
Color
Color
(
)
:
Quantity_Color
Returns
Quantity_Color
Concentration
Concentration
(
)
:
number
Returns
number
Const
Attenuation
Const
Attenuation
(
)
:
number
Returns
number
Copy
From
Copy
From
(
theLight
:
Handle_Graphic3d_CLight
)
:
void
Parameters
theLight:
Handle_Graphic3d_CLight
Returns
void
Decrement
Ref
Counter
Decrement
Ref
Counter
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Delete
Delete
(
)
:
void
Returns
void
Direction_
1
Direction_
1
(
)
:
gp_Dir
Returns
gp_Dir
Direction_
2
Direction_
2
(
theVx
:
number
, theVy
:
number
, theVz
:
number
)
:
void
Parameters
theVx:
number
theVy:
number
theVz:
number
Returns
void
Display
Position
Display
Position
(
)
:
gp_Pnt
Returns
gp_Pnt
Dump
Json
Dump
Json
(
theOStream
:
Standard_OStream
, theDepth
:
Graphic3d_ZLayerId
)
:
void
Parameters
theOStream:
Standard_OStream
theDepth:
Graphic3d_ZLayerId
Returns
void
Dynamic
Type
Dynamic
Type
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Get
Id
Get
Id
(
)
:
XCAFDoc_PartId
Returns
XCAFDoc_PartId
Get
Ref
Count
Get
Ref
Count
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Has
Range
Has
Range
(
)
:
boolean
Returns
boolean
Headlight
Headlight
(
)
:
boolean
Returns
boolean
Increment
Ref
Counter
Increment
Ref
Counter
(
)
:
void
Returns
void
Intensity
Intensity
(
)
:
number
Returns
number
Is
Enabled
Is
Enabled
(
)
:
boolean
Returns
boolean
Is
Headlight
Is
Headlight
(
)
:
boolean
Returns
boolean
Is
Instance_
1
Is
Instance_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Instance_
2
Is
Instance_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
Is
Kind_
1
Is
Kind_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Kind_
2
Is
Kind_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
Linear
Attenuation
Linear
Attenuation
(
)
:
number
Returns
number
Name
Name
(
)
:
XCAFDoc_PartId
Returns
XCAFDoc_PartId
Packed
Color
Packed
Color
(
)
:
OpenGl_Vec4
Returns
OpenGl_Vec4
Packed
Direction
Packed
Direction
(
)
:
OpenGl_Vec3
Returns
OpenGl_Vec3
Packed
Direction
Range
Packed
Direction
Range
(
)
:
OpenGl_Vec4
Returns
OpenGl_Vec4
Packed
Params
Packed
Params
(
)
:
OpenGl_Vec4
Returns
OpenGl_Vec4
Position_
1
Position_
1
(
)
:
gp_Pnt
Returns
gp_Pnt
Position_
2
Position_
2
(
theX
:
number
, theY
:
number
, theZ
:
number
)
:
void
Parameters
theX:
number
theY:
number
theZ:
number
Returns
void
Range
Range
(
)
:
number
Returns
number
Revision
Revision
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
Set
Angle
Set
Angle
(
theAngle
:
number
)
:
void
Parameters
theAngle:
number
Returns
void
Set
Attenuation
Set
Attenuation
(
theConstAttenuation
:
number
, theLinearAttenuation
:
number
)
:
void
Parameters
theConstAttenuation:
number
theLinearAttenuation:
number
Returns
void
Set
Cast
Shadows
Set
Cast
Shadows
(
theToCast
:
boolean
)
:
void
Parameters
theToCast:
boolean
Returns
void
Set
Color
Set
Color
(
theColor
:
Quantity_Color
)
:
void
Parameters
theColor:
Quantity_Color
Returns
void
Set
Concentration
Set
Concentration
(
theConcentration
:
number
)
:
void
Parameters
theConcentration:
number
Returns
void
Set
Direction_
1
Set
Direction_
1
(
theOrientation
:
V3d_TypeOfOrientation
)
:
void
Parameters
theOrientation:
V3d_TypeOfOrientation
Returns
void
Set
Direction_
2
Set
Direction_
2
(
theDir
:
gp_Dir
)
:
void
Parameters
theDir:
gp_Dir
Returns
void
Set
Direction_
3
Set
Direction_
3
(
theVx
:
number
, theVy
:
number
, theVz
:
number
)
:
void
Parameters
theVx:
number
theVy:
number
theVz:
number
Returns
void
Set
Display
Position
Set
Display
Position
(
thePosition
:
gp_Pnt
)
:
void
Parameters
thePosition:
gp_Pnt
Returns
void
Set
Enabled
Set
Enabled
(
theIsOn
:
boolean
)
:
void
Parameters
theIsOn:
boolean
Returns
void
Set
Headlight
Set
Headlight
(
theValue
:
boolean
)
:
void
Parameters
theValue:
boolean
Returns
void
Set
Intensity
Set
Intensity
(
theValue
:
number
)
:
void
Parameters
theValue:
number
Returns
void
Set
Name
Set
Name
(
theName
:
XCAFDoc_PartId
)
:
void
Parameters
theName:
XCAFDoc_PartId
Returns
void
Set
Position_
1
Set
Position_
1
(
thePosition
:
gp_Pnt
)
:
void
Parameters
thePosition:
gp_Pnt
Returns
void
Set
Position_
2
Set
Position_
2
(
theX
:
number
, theY
:
number
, theZ
:
number
)
:
void
Parameters
theX:
number
theY:
number
theZ:
number
Returns
void
Set
Range
Set
Range
(
theValue
:
number
)
:
void
Parameters
theValue:
number
Returns
void
Set
Smooth
Angle
Set
Smooth
Angle
(
theValue
:
number
)
:
void
Parameters
theValue:
number
Returns
void
Set
Smooth
Radius
Set
Smooth
Radius
(
theValue
:
number
)
:
void
Parameters
theValue:
number
Returns
void
Smoothness
Smoothness
(
)
:
number
Returns
number
This
This
(
)
:
Standard_Transient
Returns
Standard_Transient
To
Cast
Shadows
To
Cast
Shadows
(
)
:
boolean
Returns
boolean
Type
Type
(
)
:
V3d_TypeOfLight
Returns
V3d_TypeOfLight
delete
delete
(
)
:
void
Returns
void
Static
get_
type_
descriptor
get_
type_
descriptor
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Static
get_
type_
name
get_
type_
name
(
)
:
number
Returns
number
Exports
V3d_
Spot
Light
constructor
Angle
Attenuation
Color
Concentration
Const
Attenuation
Copy
From
Decrement
Ref
Counter
Delete
Direction_
1
Direction_
2
Display
Position
Dump
Json
Dynamic
Type
Get
Id
Get
Ref
Count
Has
Range
Headlight
Increment
Ref
Counter
Intensity
Is
Enabled
Is
Headlight
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Linear
Attenuation
Name
Packed
Color
Packed
Direction
Packed
Direction
Range
Packed
Params
Position_
1
Position_
2
Range
Revision
Set
Angle
Set
Attenuation
Set
Cast
Shadows
Set
Color
Set
Concentration
Set
Direction_
1
Set
Direction_
2
Set
Direction_
3
Set
Display
Position
Set
Enabled
Set
Headlight
Set
Intensity
Set
Name
Set
Position_
1
Set
Position_
2
Set
Range
Set
Smooth
Angle
Set
Smooth
Radius
Smoothness
This
To
Cast
Shadows
Type
delete
get_
type_
descriptor
get_
type_
name
Generated using
TypeDoc