Intersoft WebGrid Documentation
LinearAttenuation Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > ChartLightSourceSettings Class : LinearAttenuation Property






Gets or sets a value that specifies the linear attenuation factor for the specified light source.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<ISNet.Serialization.BinarySerializableAttribute()>
<NotifyParentPropertyAttribute(True)>
<ISNet.Serialization.XmlSerializableAttribute()>
<CategoryAttribute("Attenuation")>
<DescriptionAttribute("Specifies the linear attenuation factor for this light.")>
Public Property LinearAttenuation As Single
Visual Basic (Usage)Copy Code
Dim instance As ChartLightSourceSettings
Dim value As Single
 
instance.LinearAttenuation = value
 
value = instance.LinearAttenuation
C# 
[DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
[CategoryAttribute("Attenuation")]
[DescriptionAttribute("Specifies the linear attenuation factor for this light.")]
public float LinearAttenuation {get; set;}
Delphi 
public read-write property LinearAttenuation: Single; 
JScript 
DefaultValueAttribute()
ISNet.Serialization.BinarySerializableAttribute()
NotifyParentPropertyAttribute()
ISNet.Serialization.XmlSerializableAttribute()
CategoryAttribute("Attenuation")
DescriptionAttribute("Specifies the linear attenuation factor for this light.")
public function get,set LinearAttenuation : float
Managed Extensions for C++ 
[DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
[CategoryAttribute("Attenuation")]
[DescriptionAttribute("Specifies the linear attenuation factor for this light.")]
public: __property float get_LinearAttenuation();
public: __property void set_LinearAttenuation( 
   float value
);
C++/CLI 
[DefaultValueAttribute()]
[ISNet.Serialization.BinarySerializableAttribute()]
[NotifyParentPropertyAttribute(true)]
[ISNet.Serialization.XmlSerializableAttribute()]
[CategoryAttribute("Attenuation")]
[DescriptionAttribute("Specifies the linear attenuation factor for this light.")]
public:
property float LinearAttenuation {
   float get();
   void set (    float value);
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.