| 161 | NightColors, |
| 162 | HorizonColors, |
| 163 | Environment, |
| 164 | Time, |
| 165 | TimeOfDay, |
| 166 | TimePaused, |
| 167 | TimeScale, |
| 168 | Shaders, |
| 169 | Fill, |
| 170 | Stroke, |
| 171 | Custom(Cow<'static, str>), |
| 172 | } |
| 173 | |
| 174 | impl SceneFieldName { |
| 175 | pub fn as_str(&self) -> &str { |
| 176 | match self { |
| 177 | Self::Position => "position", |
| 178 | Self::Rotation => "rotation", |
| 179 | Self::RotationDeg => "rotation_deg", |
| 180 | Self::Scale => "scale", |
| 181 | Self::Visible => "visible", |
| 182 | Self::Modulate => "modulate", |
| 183 | Self::SelfModulate => "self_modulate", |
| 184 | Self::ChildrenModulate => "children_modulate", |
| 185 | Self::ZIndex => "z_index", |
| 186 | Self::RenderLayers => "render_layers", |
| 187 | Self::RenderMask => "render_mask", |
| 188 | Self::PostProcessing => "post_processing", |
| 189 | Self::Camera => "camera", |
| 190 | Self::Resolution => "resolution", |
| 191 | Self::AspectRatio => "aspect_ratio", |
| 192 | Self::AspectMode => "aspect_mode", |
| 193 | Self::Texture => "texture", |
| 194 | Self::TextureRegion => "texture_region", |
| 195 | Self::FlipX => "flip_x", |
| 196 | Self::FlipY => "flip_y", |
| 197 | Self::FlipZ => "flip_z", |
| 198 | Self::Zoom => "zoom", |
| 199 | Self::Active => "active", |
| 200 | Self::Enabled => "enabled", |
| 201 | Self::Shape => "shape", |
| 202 | Self::Trimesh => "trimesh", |
| 203 | Self::Debug => "debug", |
| 204 | Self::Range => "range", |
| 205 | Self::Radius => "radius", |
| 206 | Self::InnerAngleRadians => "inner_angle_radians", |
| 207 | Self::OuterAngleRadians => "outer_angle_radians", |
| 208 | Self::Intensity => "intensity", |
| 209 | Self::CastShadows => "cast_shadows", |
| 210 | Self::ShadowSoftness => "shadow_softness", |
| 211 | Self::ShadowSamples => "shadow_samples", |
| 212 | Self::Shadow => "shadow", |
| 213 | Self::ShadowStrength => "shadow_strength", |
| 214 | Self::ShadowDepthBias => "shadow_depth_bias", |
| 215 | Self::ShadowNormalBias => "shadow_normal_bias", |
| 216 | Self::ReceiveShadows => "receive_shadows", |
| 217 | Self::Color => "color", |
| 218 | Self::Mesh => "mesh", |
| 219 | Self::Material => "material", |
| 220 | Self::Materials => "materials", |