/
Metallist64
/
rbfx
Обзор
Документация
Войти
/
Metallist64
/
rbfx
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
bin/Data/Scenes/CameraOperatorScene.scene
126 строк
5 KB
gleblebedev
Helper component to move camera in a position where area of the world takes most of the screen. (#668)
02 май 2024, 11:11
Не верифицирован
02 май 2024, 11:11
0264f88
Код
Авторство
О чём код?
<?xml version="1.0"?> <resource _id="1"> <attributes> <attribute name="Next Node ID" type="Int" value="11" /> <attribute name="Next Component ID" type="Int" value="17" /> </attributes> <components> <component _id="1" _typeName="Octree" /> <component _id="2" _typeName="RenderPipeline"> <attributes> <attribute name="Color Space" type="String" value="HDR Linear" /> <attribute name="PCF Kernel Size" type="Int" value="5" /> <attribute name="Post Process Antialiasing" type="String" value="FXAA3" /> </attributes> </component> <component _id="11" _typeName="ReflectionProbeManager" /> </components> <nodes> <node _id="2"> <attributes> <attribute name="Name" type="String" value="Skybox" /> </attributes> <components> <component _id="3" _typeName="Skybox"> <attributes> <attribute name="Model" type="ResourceRef" value="Model;Models/Box.mdl" /> <attribute name="Material" type="ResourceRefList" value="Material;Materials/DefaultSkybox.xml" /> </attributes> </component> </components> </node> <node _id="3"> <attributes> <attribute name="Name" type="String" value="Global Zone" /> </attributes> <components> <component _id="4" _typeName="Zone"> <attributes> <attribute name="Bounding Box Min" type="Vector3" value="-1000 -1000 -1000" /> <attribute name="Bounding Box Max" type="Vector3" value="1000 1000 1000" /> <attribute name="Ambient Color" type="Color" value="0 0 0 1" /> <attribute name="Background Brightness" type="Float" value="0.500000" /> <attribute name="Zone Texture" type="ResourceRef" value="TextureCube;Textures/DefaultSkybox.xml" /> </attributes> </component> </components> </node> <node _id="4"> <attributes> <attribute name="Name" type="String" value="Global Light" /> <attribute name="Rotation" type="Quaternion" value="0.888074 0.325058 0.325058 -0" /> </attributes> <components> <component _id="5" _typeName="Light"> <attributes> <attribute name="Light Type" type="String" value="Directional" /> <attribute name="Brightness Multiplier" type="Float" value="0.500000" /> <attribute name="Cast Shadows" type="Bool" value="true" /> </attributes> </component> </components> </node> <node _id="5"> <attributes> <attribute name="Name" type="String" value="Sample Cube" /> </attributes> <components> <component _id="6" _typeName="StaticModel"> <attributes> <attribute name="Model" type="ResourceRef" value="Model;Models/Box.mdl" /> <attribute name="Material" type="ResourceRefList" value="Material;Materials/DefaultWhite.xml" /> <attribute name="Cast Shadows" type="Bool" value="true" /> </attributes> </component> </components> </node> <node _id="8"> <attributes> <attribute name="Name" type="String" value="MainCamera" /> <attribute name="Position" type="Vector3" value="0.714699 0.237239 -1.691795" /> <attribute name="Rotation" type="Quaternion" value="0.971089 0.083266 -0.222907 0.019113" /> </attributes> <components> <component _id="13" _typeName="Camera" /> <component _id="14" _typeName="CameraOperator"> <attributes> <attribute name="Track Bounding Box" type="Bool" value="true" /> <attribute name="Bounding Box Min" type="Vector3" value="-0.5 -0.5 -0.5" /> <attribute name="Bounding Box Max" type="Vector3" value="0.5 0.5 0.5" /> </attributes> </component> </components> </node> <node _id="9"> <attributes> <attribute name="Name" type="String" value="CubeA" /> <attribute name="Scale" type="Vector3" value="0.1 0.1 0.1" /> </attributes> <components> <component _id="15" _typeName="StaticModel"> <attributes> <attribute name="Model" type="ResourceRef" value="Model;Models/Box.mdl" /> <attribute name="Material" type="ResourceRefList" value="Material;Materials/DefaultWhite.xml" /> <attribute name="Cast Shadows" type="Bool" value="true" /> </attributes> </component> </components> </node> <node _id="10"> <attributes> <attribute name="Name" type="String" value="CubeB" /> <attribute name="Scale" type="Vector3" value="0.1 0.1 0.1" /> </attributes> <components> <component _id="16" _typeName="StaticModel"> <attributes> <attribute name="Model" type="ResourceRef" value="Model;Models/Box.mdl" /> <attribute name="Material" type="ResourceRefList" value="Material;Materials/DefaultWhite.xml" /> <attribute name="Cast Shadows" type="Bool" value="true" /> </attributes> </component> </components> </node> </nodes> <auxiliary /> </resource>