Component:BoxGizmo: Difference between revisions

From Resonite Wiki
imported>AshtonSparx
Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=BoxGizmoComponent.png |Name=Box Gizmo }} <!--T:2--> == Fields == {{Table ComponentFields |T..."
 
add info on the root space to unify meaning
 
(2 intermediate revisions by 2 users not shown)
Line 12: Line 12:
{{Table ComponentFields
{{Table ComponentFields
|TargetSlot|Slot|
|TargetSlot|Slot|
|LocalSpace|Slot|
|BoxCenterSpace|{{RootFieldType|RootSpace}}|TypeAdv1=true| The coordinate space to transform by when making the result of <code>BoxCenter</code>
|UseParentSpace|Bool|
|BoxSizeSpace|{{RootFieldType|RootSpace}}|TypeAdv2=true| The coordinate space to transform by when making the result of <code>BoxSize</code>
|OverrideRootSpace|RootSpace|
|BoxSize|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]&lt;[[Type:Float3|Float3]]&gt;}}|TypeAdv3=true|
|LocalSpace|Slot|
|BoxCenter|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]&lt;[[Type:Float3|Float3]]&gt;}}|TypeAdv4=true|
|UseParentSpace|Bool|
|OverrideRootSpace|RootSpace|
|BoxSize|IField`1|TypeString3=IField<float3>|
|BoxCenter|IField`1|TypeString4=IField<float3>|
|LockOffset|Bool|
|LockOffset|Bool|
|_vertices|SyncList`1|TypeString6=SyncList<FieldDrive<float3>>|
|_vertices|{{RootFieldType|SyncList`1|[[Type:FieldDrive`1|FieldDrive`1]]&lt;[[Type:Float3|Float3]]&gt;}}|TypeAdv6=true|
|_edges|SyncList`1|TypeString7=SyncList<FieldDrive<float3>>|
|_edges|{{RootFieldType|SyncList`1|[[Type:FieldDrive`1|FieldDrive`1]]&lt;[[Type:Float3|Float3]]&gt;}}|TypeAdv7=true|
|_faces|SyncList`1|TypeString8=SyncList<FieldDrive<float3>>|
|_faces|{{RootFieldType|SyncList`1|[[Type:FieldDrive`1|FieldDrive`1]]&lt;[[Type:Float3|Float3]]&gt;}}|TypeAdv8=true|
|_sphereColliderRadii|SyncList`1|TypeString9=SyncList<FieldDrive<float>>|
|_sphereColliderRadii|{{RootFieldType|SyncList`1|[[Type:FieldDrive`1|FieldDrive`1]]&lt;[[Type:Float|Float]]&gt;}}|TypeAdv9=true|
|_material|OverlayFresnelMaterial|
|_material|'''[[OverlayFresnelMaterial|OverlayFresnelMaterial]]'''|TypeAdv10=true|
|_handleSphere|IcoSphereMesh|
|_handleSphere|'''[[Component:IcoSphereMesh|IcoSphereMesh]]'''|TypeAdv11=true|
|_visualRoot|Slot|
|_visualRoot|Slot|
|_visualPosition|IField`1|TypeString13=IField<float3>|
|_visualPosition|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv13=true|
|_visualRotation|IField`1|TypeString14=IField<floatQ>|
|_visualRotation|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv14=true|
|_visualScale|IField`1|TypeString15=IField<float3>|
|_visualScale|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv15=true|
|_tubeBox|TubeBoxMesh|
|_tubeBox|{{RootFieldType|DriveRef`1|[[Component:TubeBoxMesh|TubeBoxMesh]]}}|TypeAdv16=true|
}}
}}



Latest revision as of 17:21, 23 October 2024


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Box Gizmo component as seen in the Scene Inspector


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.
TargetSlot Slot
BoxCenterSpace direct RootSpace The coordinate space to transform by when making the result of BoxCenter
BoxSizeSpace direct RootSpace The coordinate space to transform by when making the result of BoxSize
BoxSize direct RelayRef`1<IField`1<Float3>>
BoxCenter direct RelayRef`1<IField`1<Float3>>
LockOffset Bool
_vertices list of FieldDrive`1<Float3>
_edges list of FieldDrive`1<Float3>
_faces list of FieldDrive`1<Float3>
_sphereColliderRadii list of FieldDrive`1<Float>
_material OverlayFresnelMaterial
_handleSphere IcoSphereMesh
_visualRoot Slot
_visualPosition field drive of Float3
_visualRotation field drive of FloatQ
_visualScale field drive of Float3
_tubeBox direct DriveRef`1<TubeBoxMesh>

Usage

Examples

Related Components