989onan bot (talk | contribs) Automated: create new component page |
add info |
||
Line 3: | Line 3: | ||
|Name=Color From Texture 3D | |Name=Color From Texture 3D | ||
}} | }} | ||
The '''ColorFromTexture3D''' component makes particles spawn with a random color from within a 3D texture. | |||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Texture3D|{{RootFieldType|AssetRef`1|[[Type:Texture3D|Texture3D]]}}|TypeAdv0=true| | |Texture3D|{{RootFieldType|AssetRef`1|[[Type:Texture3D|Texture3D]]}}|TypeAdv0=true| The 3D texture to sample from. | ||
|Scale|Float3| | |Scale|Float3| How much bias to choose higher axis values. The default is 1 which is no bias. | ||
|Offset|Float3| | |Offset|Float3| How much to add to the chosen point in the 3D texture, which can cut off lower or higher values from ever being chosen. | ||
}} | }} | ||
== Usage == | == Usage == | ||
Attach to a slot, add to the list of modules in a [[Component:ParticleSystem]], and adjust the values to make the desired effect from this component. | |||
== Examples == | == Examples == | ||
{{stub}} | |||
== See Also == | == See Also == | ||
* [[Component:ColorFromTexture3D]] | |||
* [[Component:ColorRangeInitializer]] | |||
* [[Component:ColorConstantInitializer]] | |||
* [[Component:ParticleSystem]] | |||
* [[Photon Dust]] | |||
[[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Color From Texture 3D]] | [[Category:Components:Rendering:Particle System:Modules{{#translation:}}|Color From Texture 3D]] | ||
[[Category:Components{{#translation:}}|Color From Texture 3D]] | [[Category:Components{{#translation:}}|Color From Texture 3D]] | ||
Revision as of 18:24, 8 February 2025
Component image 
Color From Texture 3D component as seen in the Scene Inspector

The ColorFromTexture3D component makes particles spawn with a random color from within a 3D texture.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
Texture3D
|
Texture3D | The 3D texture to sample from. |
Scale
|
Float3 | How much bias to choose higher axis values. The default is 1 which is no bias. |
Offset
|
Float3 | How much to add to the chosen point in the 3D texture, which can cut off lower or higher values from ever being chosen. |
Usage
Attach to a slot, add to the list of modules in a Component:ParticleSystem, and adjust the values to make the desired effect from this component.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.