m Remove node in protoflux links. |
get rid of Type |
||
Line 13: | Line 13: | ||
In Resonite you will mostly come across Enums when you are dealing with certain ProtoFlux nodes or Components which have sets of predefined behavior which can be altered or changed by changing a value of an Enum. | In Resonite you will mostly come across Enums when you are dealing with certain ProtoFlux nodes or Components which have sets of predefined behavior which can be altered or changed by changing a value of an Enum. | ||
For example, In the [[Tween (ProtoFlux)|Tween Node]], there is an input called [[CurvePreset]] which defines the type of Curve a Tween operation follows. By altering this Enum, you can change usually how smooth a Tween operation is. | For example, In the [[Tween (ProtoFlux)|Tween Node]], there is an input called [[Type:CurvePreset|CurvePreset]] which defines the type of Curve a Tween operation follows. By altering this Enum, you can change usually how smooth a Tween operation is. | ||
[[Category: | [[Category:Type]] | ||
Line 21: | Line 21: | ||
TODO: | TODO: | ||
* [[ | * [[Type:Blend|Blend]] | ||
* [[ | * [[Type:BlendMode|BlendMode]] | ||
* [[ | * [[Type:CameraClearMode|CameraClearMode]] | ||
* [[ | * [[Type:CameraPositioningMode|CameraPositioningMode]] | ||
* [[ | * [[Type:Clear|Clear]] | ||
* [[ | * [[Type:Culling|Culling]] | ||
* [[ | * [[Type:HeadOutputDevice|HeadOutputDevice]] | ||
* [[ | * [[Type:HttpStatusCode|HttpStatusCode]] | ||
* [[ | * [[Type:Key|Key]] | ||
* [[ | * [[Type:LightType|LightType]] | ||
* [[ | * [[Type:SessionAccountLevel|SessionAccountLevel]] | ||
* [[ | * [[Type:ShadowCastMode|ShadowCastMode]] | ||
* [[ | * [[Type:TimeSlicingMode|TimeSlicingMode]] | ||
* [[ | * [[Type:Type|Type]] | ||
* [[ | * [[Type:ZWrite|ZWrite]] | ||
* [[ | * [[Type:ZTest|ZTest]] | ||
--> | --> |
Revision as of 04:30, 15 January 2024
Enums(Enumerated Types) are Value Types which define a list of constants. These constants are mapped inside an Enum to an underlying numerical value. For example a simple Enum might be the days of the week:
- Monday - 0
- Tuesday - 1
- Wednesday - 2
- Thursday - 3
- Friday - 4
- Saturday - 5
- Sunday - 6
Enums are useful when you want a defined set of behavior for a system to follow or when you want two components of a system to speak a common language.
In Resonite you will mostly come across Enums when you are dealing with certain ProtoFlux nodes or Components which have sets of predefined behavior which can be altered or changed by changing a value of an Enum.
For example, In the Tween Node, there is an input called CurvePreset which defines the type of Curve a Tween operation follows. By altering this Enum, you can change usually how smooth a Tween operation is.
Pages in category "Enums"
The following 158 pages are in this category, out of 158 total.
A
C
- Type:CameraClearMode
- Type:CameraPositioningMode
- Type:CharacterControllerParameter
- Type:CloudProfile
- Type:CloudVariableChangeMode
- Type:ColliderType
- Type:ColorProfileRequirement
- Type:ComponentHandling
- Type:CompoundZeroHandling
- Type:Culling
- Type:Chirality
- Type:ColorMask
- Type:ColorProfile
- Type:CurvePreset
D
E
F
H
L
M
P
- Type:PanoramicProjection
- Type:ParticleAlignment
- Type:ParticleAnimationType
- Type:ParticleTrailMode
- Type:ParticleTrailTextureMode
- Type:PBR TextureFormat
- Type:PermissionState
- Type:PermissionViolationAction
- Type:PhotoEncodeFormat
- Type:PhysicsScalingMode
- Type:Platform
- Type:PointerType
- Type:PointProjection
- Type:PositionType
- Type:PrimaryLocomotionController
- Type:Primitive
- Type:Priority
- Type:ProgressStage
- Type:PropertyState
- Type:PlaybackAction
S
- Type:SampleRateMode
- Type:SaveType
- Type:ScreenshotType
- Type:SensationClass
- Type:SessionAccessLevel
- Type:Shading
- Type:ShadowCascadeMode
- Type:ShadowCastMode
- Type:ShadowResolutionMode
- Type:ShadowType
- Type:SidewaysMovementMode
- Type:SimulationType
- Type:SizeFit
- Type:SkinWeightMode
- Type:StaticCameraType
- Type:SteamChannel
- Type:SteamCloseReason
- Type:StereoLayout
- Type:StringComparison
- Type:ShoulderRotationMode
- Type:SkinnedBounds
- Type:StencilComparison
- Type:StencilOperation