/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/ecs/components/ |
H A D | camera_component.h | 145 DEFINE_PROPERTY(float, aspect, "Aspect Ratio", 0, VALUE(-1.f)) 153 DEFINE_PROPERTY(float, xMag, "X Scale for Orthographic", 0, VALUE(1.f)) 157 DEFINE_PROPERTY(float, yMag, "Y Scale for Orthographic", 0, VALUE(1.f)) 161 DEFINE_PROPERTY(float, xOffset, "X Offset for Frustum", 0, VALUE(0.f)) 166 DEFINE_PROPERTY(float, yOffset, "Y Offset for Frustum", 0, VALUE(0.f)) 170 DEFINE_PROPERTY(float, zNear, "Z Near", 0, VALUE(0.3f)) 174 DEFINE_PROPERTY(float, zFar, "Z Far", 0, VALUE(1000.f)) 222 DEFINE_PROPERTY(CORE_NS::Entity, environment, "Environment", 0, ) 227 DEFINE_PROPERTY(CORE_NS::Entity, fog, "Fog", 0, ) 232 DEFINE_PROPERTY(CORE_NS::Entity, postProcess, "Post process", 0, ) [all …]
|
H A D | fog_component.h | 34 DEFINE_PROPERTY(float, density, "Density Factor", 0, VALUE(0.005f)) 39 DEFINE_PROPERTY(float, heightFalloff, "Height Falloff", 0, VALUE(1.0f)) 43 DEFINE_PROPERTY(float, heightFogOffset, "Height Offset (to ground plane)", 0, VALUE(0.0f)) 47 DEFINE_PROPERTY(float, layerDensity, "Second Layer Density", 0, VALUE(0.04f)) 51 DEFINE_PROPERTY(float, layerHeightFalloff, "Second Layer Height Falloff", 0, VALUE(1.0f)) 55 DEFINE_PROPERTY(float, layerHeightFogOffset, "Second Layer Height Offset", 0, VALUE(0.0f)) 59 DEFINE_PROPERTY(float, startDistance, "Start Distance From Camera", 0, VALUE(1.0f)) 64 DEFINE_PROPERTY(float, cuttoffDistance, "Cutoff Distance", 0, VALUE(-1.0f)) 68 DEFINE_PROPERTY(float, maxOpacity, "Maximum Opacity", 0, VALUE(0.2f)) 72 …DEFINE_PROPERTY(BASE_NS::Math::Vec4, inscatteringColor, "Fog Primary Color (Intensity In Alpha)", … [all …]
|
H A D | light_component.h | 36 DEFINE_PROPERTY(Type, type, "Type", 0, VALUE(Type::DIRECTIONAL)) 40 DEFINE_PROPERTY(BASE_NS::Math::Vec3, color, "Color", 0, ARRAY_VALUE(1.0f, 1.0f, 1.0f)) 44 DEFINE_PROPERTY(float, intensity, "Intensity", 0, VALUE(1.0f)) 48 DEFINE_PROPERTY(float, range, "Range", 0, VALUE(0.0f)) 52 DEFINE_PROPERTY(float, nearPlane, "Shadow Near Plane", 0, VALUE(0.5f)) 56 DEFINE_PROPERTY(float, spotInnerAngle, "Spot Cone Inner Angle", 0, VALUE(0.0f)) 60 DEFINE_PROPERTY(float, spotOuterAngle, "Spot Cone Outer Angle", 0, VALUE(0.78539816339f)) 64 DEFINE_PROPERTY(float, shadowStrength, "Shadow Strength", 0, VALUE(1.0f)) 68 DEFINE_PROPERTY(float, shadowDepthBias, "Shadow Depth Bias", 0, VALUE(0.005f)) 72 DEFINE_PROPERTY(float, shadowNormalBias, "Shadow Normal Bias", 0, VALUE(0.025f)) [all …]
|
H A D | environment_component.h | 49 DEFINE_PROPERTY(Background, background, "Background", 0, VALUE(Background::NONE)) 53 DEFINE_PROPERTY( 58 DEFINE_PROPERTY( 67 DEFINE_PROPERTY(CORE_NS::EntityReference, radianceCubemap, "Radiance Cubemap", 0,) 71 DEFINE_PROPERTY(uint32_t, radianceCubemapMipCount, "Radiance Cubemap Mip Count", 0, VALUE(0)) 75 DEFINE_PROPERTY(CORE_NS::EntityReference, envMap, "Environment Map", 0,) 79 DEFINE_PROPERTY(float, envMapLodLevel, "Envmap Lod Level", 0, VALUE(0.0f)) 88 DEFINE_PROPERTY( 93 …DEFINE_PROPERTY(BASE_NS::Math::Vec4, blendFactor, "Additional Blend Factor for Multiple Environmen… 99 DEFINE_PROPERTY(CORE_NS::EntityReference, shader, "Custom Environment Shader", 0,) [all …]
|
H A D | post_process_component.h | 57 …DEFINE_PROPERTY(RENDER_NS::TonemapConfiguration, tonemapConfiguration, "Tonemap Configuration", 0,… 61 …DEFINE_PROPERTY(RENDER_NS::BloomConfiguration, bloomConfiguration, "Bloom Configuration", 0, ARRAY… 65 …DEFINE_PROPERTY(RENDER_NS::VignetteConfiguration, vignetteConfiguration, "Vignette Configuration",… 69 DEFINE_PROPERTY( 74 …DEFINE_PROPERTY(RENDER_NS::DitherConfiguration, ditherConfiguration, "Dither Configuration", 0, AR… 78 …DEFINE_PROPERTY(RENDER_NS::BlurConfiguration, blurConfiguration, "Target Blur Configuration", 0, A… 82 DEFINE_PROPERTY(RENDER_NS::ColorConversionConfiguration, colorConversionConfiguration, 87 …DEFINE_PROPERTY(RENDER_NS::FxaaConfiguration, fxaaConfiguration, "Fast Approximate Anti-Aliasing C… 92 DEFINE_PROPERTY( 97 …DEFINE_PROPERTY(RENDER_NS::DofConfiguration, dofConfiguration, "Depth Of Field Configuration", 0, … [all …]
|
H A D | animation_component.h | 43 DEFINE_PROPERTY(PlaybackState, state, "Playback State", 0, VALUE(PlaybackState::STOP)) 45 DEFINE_PROPERTY(uint32_t, repeatCount, "Playback Repeat Count", 0, VALUE(1)) 47 DEFINE_PROPERTY(float, startOffset, "Playback Start Offset", 0, VALUE(0.0f)) 49 DEFINE_PROPERTY(float, duration, "Playback Duration", 0, VALUE(0.0f)) 51 DEFINE_PROPERTY(float, weight, "Playback Weight", 0, VALUE(1.f)) 53 DEFINE_PROPERTY(float, speed, "Playback Speed", 0, VALUE(1.f)) 55 DEFINE_PROPERTY(BASE_NS::vector<CORE_NS::EntityReference>, tracks, "Track Entities", 0, )
|
H A D | render_configuration_component.h | 72 DEFINE_PROPERTY(CORE_NS::Entity, environment, "Environment", 0, ) 76 DEFINE_PROPERTY(CORE_NS::Entity, fog, "Fog", 0, ) 80 DEFINE_PROPERTY(SceneShadowType, shadowType, "Shadow Type", 0, VALUE(SceneShadowType::PCF)) 84 …DEFINE_PROPERTY(SceneShadowQuality, shadowQuality, "Shadow Quality", 0, VALUE(SceneShadowQuality::… 88 DEFINE_PROPERTY( 101 …DEFINE_PROPERTY(BASE_NS::string, customRenderNodeGraphFile, "Custom Scene Render Node Graph File",… 106 DEFINE_PROPERTY(
|
H A D | animation_track_component.h | 49 DEFINE_PROPERTY(CORE_NS::EntityReference, target, "Target Entity", 0, ) 51 DEFINE_PROPERTY(BASE_NS::Uid, component, "Target Component UID", 0, ) 53 DEFINE_PROPERTY(BASE_NS::string, property, "Target Property", 0, ) 55 DEFINE_PROPERTY(Interpolation, interpolationMode, "Interpolation Mode", 0, ) 57 DEFINE_PROPERTY(CORE_NS::EntityReference, timestamps, "Input Component", 0, ) 59 DEFINE_PROPERTY(CORE_NS::EntityReference, data, "Output Component", 0, )
|
H A D | material_component.h | 180 DEFINE_PROPERTY(Type, type, "Material Type", 0, VALUE(Type::METALLIC_ROUGHNESS)) 184 DEFINE_PROPERTY(float, alphaCutoff, "Alpha Cutoff", 0, VALUE(1.0f)) 204 DEFINE_PROPERTY(Shader, materialShader, "Material Shader", 0, ) 211 DEFINE_PROPERTY(Shader, depthShader, "Depth Shader", 0, ) 272 DEFINE_PROPERTY(uint32_t, useTexcoordSetBit, "Active Texture Coordinate", 0, 276 DEFINE_PROPERTY(uint32_t, customRenderSlotId, "Custom Render Slot ID", ~0, VALUE(~0u)) 281 DEFINE_PROPERTY( 287 …DEFINE_PROPERTY(CORE_NS::IPropertyHandle*, customProperties, "Custom Properties", 0, VALUE(nullptr…
|
H A D | animation_state_component.h | 44 … DEFINE_PROPERTY(BASE_NS::vector<TrackState>, trackStates, "", CORE_NS::PropertyFlags::IS_HIDDEN, ) 46 DEFINE_PROPERTY(AnimationComponent::PlaybackState, state, "", CORE_NS::PropertyFlags::IS_HIDDEN, 50 DEFINE_PROPERTY(float, time, "Playback Time", 0, VALUE(0.0f)) 53 DEFINE_PROPERTY(uint32_t, currentLoop, "", CORE_NS::PropertyFlags::IS_HIDDEN, VALUE(0U)) 56 DEFINE_PROPERTY(bool, completed, "", CORE_NS::PropertyFlags::IS_HIDDEN, VALUE(false)) 58 DEFINE_PROPERTY(bool, dirty, "", CORE_NS::PropertyFlags::IS_HIDDEN, VALUE(false))
|
H A D | node_component.h | 34 …DEFINE_PROPERTY(CORE_NS::Entity, parent, "Parent", 0, VALUE(CORE_NS::Entity { CORE_NS::INVALID_ENT… 37 DEFINE_PROPERTY(bool, enabled, "Enabled", 0, true) 41 …DEFINE_PROPERTY(bool, effectivelyEnabled, "Effectively Enabled", CORE_NS::PropertyFlags::IS_READON… 44 DEFINE_PROPERTY(bool, exported, "Exported", 0, true)
|
H A D | planar_reflection_component.h | 45 DEFINE_PROPERTY(float, screenPercentage, "Downsample Percentage", 0, 0.5f) 53 DEFINE_PROPERTY(CORE_NS::EntityReference, colorRenderTarget, "Render Output Target", 0, ) 57 DEFINE_PROPERTY(CORE_NS::EntityReference, depthRenderTarget, "Depth Output Target", 0, ) 61 DEFINE_PROPERTY(float, clipOffset, "Reflection Clip Offset", 0, VALUE(0.0f))
|
H A D | physical_camera_component.h | 28 DEFINE_PROPERTY(float, aperture, "Aperture", 0, VALUE(16.f)) 30 DEFINE_PROPERTY(float, shutterSpeed, "Shutter Speed", 0, VALUE(1.0f / 125.0f)) 35 DEFINE_PROPERTY(float, sensitivity, "Sensitivity", 0, VALUE(100.f))
|
H A D | mesh_component.h | 157 DEFINE_PROPERTY(BASE_NS::vector<Submesh>, submeshes, "Submeshes", 0, ) 160 DEFINE_PROPERTY(BASE_NS::vector<float>, jointBounds, "Joint Bounds", 0, ) 163 DEFINE_PROPERTY(BASE_NS::Math::Vec3, aabbMin, "Min AABB", 0, ARRAY_VALUE(0.0f, 0.0f, 0.0f)) 166 DEFINE_PROPERTY(BASE_NS::Math::Vec3, aabbMax, "Max AABB", 0, ARRAY_VALUE(0.0f, 0.0f, 0.0f))
|
H A D | skin_component.h | 33 DEFINE_PROPERTY(CORE_NS::Entity, skin, "Skin IBMs", 0, VALUE(~0u)) 37 DEFINE_PROPERTY(CORE_NS::Entity, skinRoot, "Skin Root", 0, VALUE(~0u)) 41 DEFINE_PROPERTY(CORE_NS::Entity, skeleton, "Skeleton Root", 0, VALUE(~0u))
|
H A D | transform_component.h | 34 DEFINE_PROPERTY(BASE_NS::Math::Vec3, position, "Position", 0, ARRAY_VALUE(0.f, 0.f, 0.f)) 38 DEFINE_PROPERTY(BASE_NS::Math::Quat, rotation, "Rotation", 0, ARRAY_VALUE(0.f, 0.f, 0.f, 1.f)) 42 DEFINE_PROPERTY(BASE_NS::Math::Vec3, scale, "Scale", 0, ARRAY_VALUE(1.f, 1.f, 1.f))
|
H A D | joint_matrices_component.h | 40 DEFINE_PROPERTY(size_t, count, "Number of Matrices", 0, 0) 63 DEFINE_PROPERTY( 69 DEFINE_PROPERTY(
|
H A D | animation_output_component.h | 35 DEFINE_PROPERTY(uint64_t, type, "Keyframe Datatype Hash", 0, ) 38 DEFINE_PROPERTY(BASE_NS::vector<uint8_t>, data, "Keyframe Data", 0, )
|
H A D | morph_component.h | 31 DEFINE_PROPERTY(BASE_NS::vector<BASE_NS::string>, morphNames, "", PropertyFlags::IS_HIDDEN,) 33 … DEFINE_PROPERTY(BASE_NS::vector<float>, morphWeights, "@morphNames[*]", PropertyFlags::IS_SLIDER,)
|
H A D | render_mesh_component.h | 38 DEFINE_PROPERTY(CORE_NS::Entity, mesh, "Mesh", 0, ) 41 DEFINE_PROPERTY(CORE_NS::Entity, renderMeshBatch, "Render Mesh Batch", 0, )
|
H A D | post_process_configuration_component.h | 62 DEFINE_PROPERTY(BASE_NS::vector<PostProcessEffect>, postProcesses, "Post Processes", 0, ) 68 DEFINE_PROPERTY(BASE_NS::string, customRenderNodeGraphFile, "Custom Post Process RNG File", 0, )
|
H A D | animation_input_component.h | 35 DEFINE_PROPERTY(BASE_NS::vector<float>, timestamps, "Keyframe Timestamps", 0, )
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/ecshelper/PropertyTools/ |
H A D | property_macros.h | 29 #undef DEFINE_PROPERTY 41 #define DEFINE_PROPERTY(type, name, displayname, flags, value) DECL_PROPERTY2(COMPTYPE, name, displ… macro
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/components/ |
H A D | initial_transform_component.h | 76 DEFINE_PROPERTY(uint64_t, type, "Type Of Data", 79 DEFINE_PROPERTY(Data, initialData, "Initial Data",
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/ |
H A D | component_struct_macros.h | 83 #undef DEFINE_PROPERTY 94 #define DEFINE_PROPERTY(type, name, displayname, flags, value) type name{ value }; macro
|