![]() |
Pixelpart 1.8.2
Unity Plugin
|
Light source similar to a point light but emitted light is restricted to a cone shape. More...
Public Member Functions | |
PixelpartSpotLightSource (IntPtr effectRuntimePtr, uint id) | |
Construct PixelpartSpotLightSource. | |
![]() | |
PixelpartLightSource (IntPtr effectRuntimePtr, uint id) | |
Construct PixelpartLightSource. | |
![]() | |
PixelpartNode (IntPtr effectRuntimePtr, uint id) | |
Construct PixelpartNode. | |
Properties | |
PixelpartAnimatedPropertyFloat | SpotAngle [get] |
Width of the light cone in degrees. | |
PixelpartAnimatedPropertyFloat | SpotAngleAttenuation [get] |
How much the light looses intensity near the edge of the light cone. | |
![]() | |
PixelpartAnimatedPropertyFloat | Attenuation [get] |
How quickly the light looses intensity on the way to its outer radius. | |
PixelpartAnimatedPropertyFloat4 | Color [get] |
Color of the light emitted by the light source. | |
PixelpartAnimatedPropertyFloat | Intensity [get] |
How strongly the light shines. | |
![]() | |
uint | Id [get] |
ID of the node. | |
uint | ParentId [get] |
ID of the node's parent. | |
string | Name [get] |
Name of the node. | |
float | LifetimeStart [get, set] |
Time in seconds until the node becomes active. | |
float | LifetimeDuration [get, set] |
How long the node stays active in seconds. | |
bool | Repeat [get, set] |
Wether the node repeats its behavior after its lifetime is over. | |
bool | Active [get] |
Whether the node is active at the current point in time. | |
float | LocalTime [get] |
Time fraction the node has been active for, in range 0.0 (0%) to 1.0 (100%). | |
PixelpartAnimatedPropertyFloat3 | Position [get] |
Position of the node. | |
PixelpartAnimatedPropertyFloat3 | Rotation [get] |
Rotation of the node in degrees. | |
PixelpartAnimatedPropertyFloat3 | Scale [get] |
Size of the node. | |
Light source similar to a point light but emitted light is restricted to a cone shape.
The direction is determined by the node's orientation property.
PixelpartSpotLightSource | ( | IntPtr | effectRuntimePtr, |
uint | id ) |
Construct PixelpartSpotLightSource.
effectRuntimePtr | Effect runtime |
id | Node ID |