Component:LegacyRotationAdapter: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
|Name=Legacy Rotation Adapter
|Name=Legacy Rotation Adapter
}}
}}
{{stub}}
The '''LegacyRotationAdapter''' component can be used to convert legacy rotation values to the new particle system values.


== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Target|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv0=true|
|Target|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv0=true| The field to drive with the converted value.
|Value|Float|
|Value|Float| The original rotation value.
|ParticleMesh|{{RootFieldType|RelayRef`1|[[Type:AssetRef`1|AssetRef`1]]<[[Type:Mesh|Mesh]]>}}|TypeAdv2=true|
|ParticleMesh|{{RootFieldType|RelayRef`1|[[Type:AssetRef`1|AssetRef`1]]<[[Type:Mesh|Mesh]]>}}|TypeAdv2=true| The mesh particle that was used with the original if any.
|UsingStretch|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<[[Type:Bool|Bool]]>}}|TypeAdv3=true|
|UsingStretch|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<[[Type:Bool|Bool]]>}}|TypeAdv3=true| Whether or not stretch was used with the particle.
}}
 
== Sync Delegates ==
{{Table ComponentTriggers
}}
}}


== Usage ==
== Usage ==
Not used directly by the user. Used in legacy content.


== Examples ==
== Examples ==
Used in legacy content.


== See Also ==
== See Also ==
Line 25: Line 23:
[[Category:Components:Uncategorized{{#translation:}}|Legacy Rotation Adapter]]
[[Category:Components:Uncategorized{{#translation:}}|Legacy Rotation Adapter]]
[[Category:Components{{#translation:}}|Legacy Rotation Adapter]]
[[Category:Components{{#translation:}}|Legacy Rotation Adapter]]
[[Category:ComponentStubs]]

Latest revision as of 16:55, 8 April 2025

Component image 
File:LegacyRotationAdapterComponent.png
Legacy Rotation Adapter component as seen in the Scene Inspector

The LegacyRotationAdapter component can be used to convert legacy rotation values to the new particle system values.

Fields

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.
Target field drive of Float The field to drive with the converted value.
Value Float The original rotation value.
ParticleMesh direct RelayRef`1<AssetRef`1<Mesh>> The mesh particle that was used with the original if any.
UsingStretch direct RelayRef`1<IField`1<Bool>> Whether or not stretch was used with the particle.

Usage

Not used directly by the user. Used in legacy content.

Examples

Used in legacy content.

See Also