Urho
1.0.0.0
Urho.Drawable
Light component.
To be added.
Constructor
1.0.0.0
Constructs a new instance of Urho.Light which is tied to the .
Constructor
1.0.0.0
Pointer to the raw unmanaged Urho object.
Constructs a new instance of Urho.Light, given a raw pointer to an unmanaged object
This creates a new managed wrapper for the type using the raw pointer to an unmanaged object.
Objects that are created in this fashion get registered with the UrhoSharp runtime.
This is intended to be used by the UrhoSharp runtime, and is not intended to be used by users.
Constructor
1.0.0.0
The context that this object will be attached to.
Constructs a new instance of Urho.Light linked to a specific .
Constructor
1.0.0.0
Pass UrhoObjectFlag.Empty.
Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.
This constructor should be invoked by your code if you provide your own constructor that sets the handle field.
This essentially circumvents the default path that creates a new object and sets the handle and does not call RegisterObject on the target, you must do this on your own constructor.
You would typically chain to this constructor from your own, and then set the handle to the unmanaged object from your code, and then register your object.
Property
1.0.0.0
System.Single
Return spotlight aspect ratio.
Or
Set spotlight aspect ratio.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return brightness multiplier.
Or
Set light brightness multiplier. Both the color and specular intensity are multiplied with this to get final values for rendering.
To be added.
To be added.
Property
1.0.0.0
Urho.Color
Return color.
Or
Set color.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
To be added.
Visualize the component as debug geometry.
To be added.
Property
1.0.0.0
Urho.Color
Return effective color, multiplied by brightness. Do not multiply the alpha so that can compare against the default black color to detect a light with no effect.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return effective specular intensity, multiplied by absolute value of brightness.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return fade start distance.
Or
Set fade out start distance.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return spotlight field of view.
Or
Set spotlight field of view.
To be added.
To be added.
Property
1.0.0.0
Urho.Frustum
Return spotlight frustum.
To be added.
To be added.
Method
1.0.0.0
Urho.Matrix3x4
To be added.
To be added.
To be added.
To be added.
Method
1.0.0.0
System.Single
To be added.
Return a divisor value based on intensity for calculating the sort value.
To be added.
To be added.
Property
1.0.0.0
Urho.LightBatchQueue*
Return light queue. Called by View.
Or
Set light queue used for this light. Called by View.
To be added.
To be added.
Property
1.0.0.0
Urho.LightType
Return light type.
Or
Set light type.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return whether light has negative (darkening) color.
To be added.
To be added.
Property
1.0.0.0
System.Int32
Return number of shadow map cascade splits for a directional light, considering also graphics API limitations.
To be added.
To be added.
Property
1.0.0.0
System.Boolean
Return vertex lighting mode.
Or
Set vertex lighting mode.
To be added.
To be added.
Property
1.0.0.0
Urho.Texture
Return range attenuation texture.
Or
Set range attenuation texture.
To be added.
To be added.
Property
1.0.0.0
Urho.ResourceRef
Return ramp texture attribute.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return range.
Or
Set range.
To be added.
To be added.
Method
1.0.0.0
System.Void
To be added.
Register object factory. Drawable must be registered first.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set sort value based on intensity and view distance.
To be added.
Method
1.0.0.0
System.Void
To be added.
Set sort value based on overall intensity over a bounding box.
To be added.
Property
1.0.0.0
Urho.BiasParameters
Return shadow depth bias parameters.
Or
Set shadow depth bias parameters.
To be added.
To be added.
Property
1.0.0.0
Urho.CascadeParameters
Return directional light cascaded shadow parameters.
Or
Set directional light cascaded shadow parameters.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return shadow fade start distance.
Or
Set shadow fade out start distance. Only has effect if shadow distance is also non-zero.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return shadow intensity.
Or
Set shadow intensity between 0.0 - 1.0. 0.0 (the default) gives fully dark shadows.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return shadow camera near/far clip distance ratio.
Or
Set shadow camera near/far clip distance ratio.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return shadow resolution.
Or
Set shadow resolution between 0.25 - 1.0. Determines the shadow map to use.
To be added.
To be added.
Property
1.0.0.0
Urho.Texture
Return spotlight attenuation texture.
Or
Set spotlight attenuation texture.
To be added.
To be added.
Property
1.0.0.0
Urho.ResourceRef
Return shape texture attribute.
To be added.
To be added.
Property
1.0.0.0
System.Single
Return specular intensity.
Or
Set specular intensity. Zero disables specular calculations.
To be added.
To be added.
Property
1.0.0.0
Urho.StringHash
Urho's type system type.
StringHash representing the type for this C# type.
This returns the Urho's type and is surfaced for low-level Urho code.
Property
1.0.0.0
System.String
Urho's low-level type name.
Stringified low-level type name.
Property
1.0.0.0
System.String
Urho's low-level type name, accessible as a static method.
Stringified low-level type name.
Property
1.0.0.0
Urho.StringHash
Urho's low-level type, accessible as a static method.
This returns the Urho's type and is surface for the low-level Urho code.