mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 01:59:59 +02:00
Merge pull request #3913 from huffman/entity-tool-property-fixes
Entity tool property fixes + add script property
This commit is contained in:
commit
2bf93bd9f0
1 changed files with 115 additions and 97 deletions
|
@ -103,13 +103,14 @@
|
||||||
var elIgnoreForCollisions = document.getElementById("property-ignore-for-collisions");
|
var elIgnoreForCollisions = document.getElementById("property-ignore-for-collisions");
|
||||||
var elCollisionsWillMove = document.getElementById("property-collisions-will-move");
|
var elCollisionsWillMove = document.getElementById("property-collisions-will-move");
|
||||||
var elLifetime = document.getElementById("property-lifetime");
|
var elLifetime = document.getElementById("property-lifetime");
|
||||||
|
var elScriptURL = document.getElementById("property-script-url");
|
||||||
|
|
||||||
var elBoxSection = document.getElementById("box-section");
|
var elBoxSections = document.querySelectorAll(".box-section");
|
||||||
var elBoxColorRed = document.getElementById("property-box-red");
|
var elBoxColorRed = document.getElementById("property-box-red");
|
||||||
var elBoxColorGreen = document.getElementById("property-box-green");
|
var elBoxColorGreen = document.getElementById("property-box-green");
|
||||||
var elBoxColorBlue = document.getElementById("property-box-blue");
|
var elBoxColorBlue = document.getElementById("property-box-blue");
|
||||||
|
|
||||||
var elLightSection = document.getElementById('light-section');
|
var elLightSections = document.querySelectorAll(".light-section");
|
||||||
var elLightSpotLight = document.getElementById("property-light-spot-light");
|
var elLightSpotLight = document.getElementById("property-light-spot-light");
|
||||||
var elLightDiffuseRed = document.getElementById("property-light-diffuse-red");
|
var elLightDiffuseRed = document.getElementById("property-light-diffuse-red");
|
||||||
var elLightDiffuseGreen = document.getElementById("property-light-diffuse-green");
|
var elLightDiffuseGreen = document.getElementById("property-light-diffuse-green");
|
||||||
|
@ -129,14 +130,14 @@
|
||||||
var elLightExponent = document.getElementById("property-light-exponent");
|
var elLightExponent = document.getElementById("property-light-exponent");
|
||||||
var elLightCutoff = document.getElementById("property-light-cutoff");
|
var elLightCutoff = document.getElementById("property-light-cutoff");
|
||||||
|
|
||||||
var elModelSection = document.getElementById("model-section");
|
var elModelSections = document.querySelectorAll(".model-section");
|
||||||
var elModelURL = document.getElementById("property-model-url");
|
var elModelURL = document.getElementById("property-model-url");
|
||||||
var elModelAnimationURL = document.getElementById("property-model-animation-url");
|
var elModelAnimationURL = document.getElementById("property-model-animation-url");
|
||||||
var elModelAnimationPlaying = document.getElementById("property-model-animation-playing");
|
var elModelAnimationPlaying = document.getElementById("property-model-animation-playing");
|
||||||
var elModelAnimationFPS = document.getElementById("property-model-animation-fps");
|
var elModelAnimationFPS = document.getElementById("property-model-animation-fps");
|
||||||
var elModelAnimationFrame = document.getElementById("property-model-animation-frame");
|
var elModelAnimationFrame = document.getElementById("property-model-animation-frame");
|
||||||
|
|
||||||
var elTextSection = document.getElementById("text-section");
|
var elTextSections = document.querySelectorAll(".text-section");
|
||||||
var elTextText = document.getElementById("property-text-text");
|
var elTextText = document.getElementById("property-text-text");
|
||||||
var elTextLineHeight = document.getElementById("property-text-line-height");
|
var elTextLineHeight = document.getElementById("property-text-line-height");
|
||||||
var elTextTextColorRed = document.getElementById("property-text-text-color-red");
|
var elTextTextColorRed = document.getElementById("property-text-text-color-red");
|
||||||
|
@ -198,11 +199,16 @@
|
||||||
elIgnoreForCollisions.checked = properties.ignoreForCollisions;
|
elIgnoreForCollisions.checked = properties.ignoreForCollisions;
|
||||||
elCollisionsWillMove.checked = properties.collisionsWillMove;
|
elCollisionsWillMove.checked = properties.collisionsWillMove;
|
||||||
elLifetime.value = properties.lifetime;
|
elLifetime.value = properties.lifetime;
|
||||||
|
elScriptURL.value = properties.script;
|
||||||
|
|
||||||
if (properties.type != "Box") {
|
if (properties.type != "Box") {
|
||||||
elBoxSection.style.display = 'none';
|
for (var i = 0; i < elBoxSections.length; i++) {
|
||||||
|
elBoxSections[i].style.display = 'none';
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
elBoxSection.style.display = 'block';
|
for (var i = 0; i < elBoxSections.length; i++) {
|
||||||
|
elBoxSections[i].style.display = 'table-row';
|
||||||
|
}
|
||||||
|
|
||||||
elBoxColorRed.value = properties.color.red;
|
elBoxColorRed.value = properties.color.red;
|
||||||
elBoxColorGreen.value = properties.color.green;
|
elBoxColorGreen.value = properties.color.green;
|
||||||
|
@ -210,9 +216,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (properties.type != "Model") {
|
if (properties.type != "Model") {
|
||||||
elModelSection.style.display = 'none';
|
for (var i = 0; i < elModelSections.length; i++) {
|
||||||
|
elModelSections[i].style.display = 'none';
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
elModelSection.style.display = 'block';
|
for (var i = 0; i < elModelSections.length; i++) {
|
||||||
|
elModelSections[i].style.display = 'table-row';
|
||||||
|
}
|
||||||
|
|
||||||
elModelURL.value = properties.modelURL;
|
elModelURL.value = properties.modelURL;
|
||||||
elModelAnimationURL.value = properties.animationURL;
|
elModelAnimationURL.value = properties.animationURL;
|
||||||
elModelAnimationPlaying.checked = properties.animationIsPlaying;
|
elModelAnimationPlaying.checked = properties.animationIsPlaying;
|
||||||
|
@ -220,9 +231,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (properties.type != "Text") {
|
if (properties.type != "Text") {
|
||||||
elTextSection.style.display = 'none';
|
for (var i = 0; i < elTextSections.length; i++) {
|
||||||
|
elTextSections[i].style.display = 'none';
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
elTextSection.style.display = 'block';
|
for (var i = 0; i < elTextSections.length; i++) {
|
||||||
|
elTextSections[i].style.display = 'table-row';
|
||||||
|
}
|
||||||
|
|
||||||
elTextText.value = properties.text;
|
elTextText.value = properties.text;
|
||||||
elTextLineHeight.value = properties.lineHeight;
|
elTextLineHeight.value = properties.lineHeight;
|
||||||
|
@ -235,9 +250,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (properties.type != "Light") {
|
if (properties.type != "Light") {
|
||||||
elLightSection.style.display = 'none';
|
for (var i = 0; i < elLightSections.length; i++) {
|
||||||
|
elLightSections[i].style.display = 'none';
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
elLightSection.style.display = 'block';
|
for (var i = 0; i < elLightSections.length; i++) {
|
||||||
|
elLightSections[i].style.display = 'table-row';
|
||||||
|
}
|
||||||
|
|
||||||
elLightDiffuseRed.value = properties.diffuseColor.red;
|
elLightDiffuseRed.value = properties.diffuseColor.red;
|
||||||
elLightDiffuseGreen.value = properties.diffuseColor.green;
|
elLightDiffuseGreen.value = properties.diffuseColor.green;
|
||||||
|
@ -307,6 +326,7 @@
|
||||||
elIgnoreForCollisions.addEventListener('change', createEmitCheckedPropertyUpdateFunction('ignoreForCollisions'));
|
elIgnoreForCollisions.addEventListener('change', createEmitCheckedPropertyUpdateFunction('ignoreForCollisions'));
|
||||||
elCollisionsWillMove.addEventListener('change', createEmitCheckedPropertyUpdateFunction('collisionsWillMove'));
|
elCollisionsWillMove.addEventListener('change', createEmitCheckedPropertyUpdateFunction('collisionsWillMove'));
|
||||||
elLifetime.addEventListener('change', createEmitNumberPropertyUpdateFunction('lifetime'));
|
elLifetime.addEventListener('change', createEmitNumberPropertyUpdateFunction('lifetime'));
|
||||||
|
elScriptURL.addEventListener('change', createEmitTextPropertyUpdateFunction('script'));
|
||||||
|
|
||||||
var boxColorChangeFunction = createEmitColorPropertyUpdateFunction(
|
var boxColorChangeFunction = createEmitColorPropertyUpdateFunction(
|
||||||
'color', elBoxColorRed, elBoxColorGreen, elBoxColorBlue);
|
'color', elBoxColorRed, elBoxColorGreen, elBoxColorBlue);
|
||||||
|
@ -437,7 +457,7 @@
|
||||||
<td>
|
<td>
|
||||||
<input type='checkbox' id="property-visible">
|
<input type='checkbox' id="property-visible">
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Position</td>
|
<td class="label">Position</td>
|
||||||
|
@ -446,7 +466,7 @@
|
||||||
<div class="input-area">Y <input class="coord" type='number' id="property-pos-y"></input></div>
|
<div class="input-area">Y <input class="coord" type='number' id="property-pos-y"></input></div>
|
||||||
<div class="input-area">Z <input class="coord" type='number' id="property-pos-z"></input></div>
|
<div class="input-area">Z <input class="coord" type='number' id="property-pos-z"></input></div>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Registration</td>
|
<td class="label">Registration</td>
|
||||||
|
@ -455,55 +475,45 @@
|
||||||
<div class="input-area">Y <input class="coord" type='number' id="property-reg-y"></input></div>
|
<div class="input-area">Y <input class="coord" type='number' id="property-reg-y"></input></div>
|
||||||
<div class="input-area">Z <input class="coord" type='number' id="property-reg-z"></input></div>
|
<div class="input-area">Z <input class="coord" type='number' id="property-reg-z"></input></div>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Width</td>
|
<td class="label">Dimensions</td>
|
||||||
<td>
|
<td>
|
||||||
<input class="coord" type='number' id="property-dim-x"></input>
|
<div class="input-area">X <input class="coord" type='number' id="property-dim-x"></input></div>
|
||||||
|
<div class="input-area">Y <input class="coord" type='number' id="property-dim-y"></input></div>
|
||||||
|
<div class="input-area">Z <input class="coord" type='number' id="property-dim-z"></input></div>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td class="label">Height</td>
|
|
||||||
<td>
|
|
||||||
<input class="coord" type='number' id="property-dim-y"></input>
|
|
||||||
</td>
|
|
||||||
<tr>
|
|
||||||
<tr>
|
|
||||||
<td class="label">Depth</td>
|
|
||||||
<td>
|
|
||||||
<input class="coord" type='number' id="property-dim-z"></input>
|
|
||||||
</td>
|
|
||||||
<tr>
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Linear</td>
|
<td class="label">Linear Velocity</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="input-area">X <input class="coord" type='number' id="property-lvel-x"></input></div>
|
<div class="input-area">X <input class="coord" type='number' id="property-lvel-x"></input></div>
|
||||||
<div class="input-area">Y <input class="coord" type='number' id="property-lvel-y"></input></div>
|
<div class="input-area">Y <input class="coord" type='number' id="property-lvel-y"></input></div>
|
||||||
<div class="input-area">Z <input class="coord" type='number' id="property-lvel-z"></input></div>
|
<div class="input-area">Z <input class="coord" type='number' id="property-lvel-z"></input></div>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Linear Damping</td>
|
<td class="label">Linear Damping</td>
|
||||||
<td>
|
<td>
|
||||||
<input class="coord" type='number' id="property-ldamping"></input>
|
<input class="coord" type='number' id="property-ldamping"></input>
|
||||||
</td>
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<tr>
|
<td class="label">Angular Velocity</td>
|
||||||
<td class="label">Angular</td>
|
|
||||||
<td>
|
<td>
|
||||||
<div class="input-area">Pitch <input class="coord" type='number' id="property-avel-x"></input></div>
|
<div class="input-area">Pitch <input class="coord" type='number' id="property-avel-x"></input></div>
|
||||||
<div class="input-area">Yaw <input class="coord" type='number' id="property-avel-y"></input></div>
|
<div class="input-area">Yaw <input class="coord" type='number' id="property-avel-y"></input></div>
|
||||||
<div class="input-area">Roll <input class="coord" type='number' id="property-avel-z"></input></div>
|
<div class="input-area">Roll <input class="coord" type='number' id="property-avel-z"></input></div>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Angular Damping</td>
|
<td class="label">Angular Damping</td>
|
||||||
<td>
|
<td>
|
||||||
<input class="coord" type='number' id="property-adamping"></input>
|
<input class="coord" type='number' id="property-adamping"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Gravity</td>
|
<td class="label">Gravity</td>
|
||||||
|
@ -512,168 +522,176 @@
|
||||||
<div class="input-area">Y <input class="coord" type='number' id="property-grav-y"></input></div>
|
<div class="input-area">Y <input class="coord" type='number' id="property-grav-y"></input></div>
|
||||||
<div class="input-area">Z <input class="coord" type='number' id="property-grav-z"></input></div>
|
<div class="input-area">Z <input class="coord" type='number' id="property-grav-z"></input></div>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Mass</td>
|
<td class="label">Mass</td>
|
||||||
<td>
|
<td>
|
||||||
<input type='number' id="property-mass"></input>
|
<input type='number' id="property-mass"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Ignore For Collisions</td>
|
<td class="label">Ignore For Collisions</td>
|
||||||
<td>
|
<td>
|
||||||
<input type='checkbox' id="property-ignore-for-collisions"></input>
|
<input type='checkbox' id="property-ignore-for-collisions"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Collisions Will Move</td>
|
<td class="label">Collisions Will Move</td>
|
||||||
<td>
|
<td>
|
||||||
<input type='checkbox' id="property-collisions-will-move"></input>
|
<input type='checkbox' id="property-collisions-will-move"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="label">Lifetime</td>
|
<td class="label">Lifetime</td>
|
||||||
<td>
|
<td>
|
||||||
<input type='number' id="property-lifetime"></input>
|
<input type='number' id="property-lifetime"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
<td class="label">Script URL</td>
|
||||||
|
<td>
|
||||||
|
<input id="property-script-url"></input>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
<tr class="box-section">
|
||||||
<td class="label">Color</td>
|
<td class="label">Color</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="input-area">Red <input class="coord" type='number' id="property-box-red"></input></div>
|
<div class="input-area">R <input class="coord" type='number' id="property-box-red"></input></div>
|
||||||
<div class="input-area">Green <input class="coord" type='number' id="property-box-green"></input></div>
|
<div class="input-area">G <input class="coord" type='number' id="property-box-green"></input></div>
|
||||||
<div class="input-area">Blue <input class="coord" type='number' id="property-box-blue"></input></div>
|
<div class="input-area">B <input class="coord" type='number' id="property-box-blue"></input></div>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tr>
|
<tr class="model-section">
|
||||||
<td class="label">Model URL</td>
|
<td class="label">Model URL</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" id="property-model-url"></input>
|
<input type="text" id="property-model-url"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="model-section">
|
||||||
<td class="label">Animation URL</td>
|
<td class="label">Animation URL</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" id="property-model-animation-url"></input>
|
<input type="text" id="property-model-animation-url"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="model-section">
|
||||||
<td class="label">Animation Playing</td>
|
<td class="label">Animation Playing</td>
|
||||||
<td>
|
<td>
|
||||||
<input type='checkbox' id="property-model-animation-playing">
|
<input type='checkbox' id="property-model-animation-playing">
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="model-section">
|
||||||
<td class="label">Animation FPS</td>
|
<td class="label">Animation FPS</td>
|
||||||
<td>
|
<td>
|
||||||
<input class="coord" type='number' id="property-model-animation-fps"></input>
|
<input class="coord" type='number' id="property-model-animation-fps"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="model-section">
|
||||||
<td class="label">Animation Frame</td>
|
<td class="label">Animation Frame</td>
|
||||||
<td>
|
<td>
|
||||||
<input class="coord" type='number' id="property-model-animation-frame"></input>
|
<input class="coord" type='number' id="property-model-animation-frame"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
|
||||||
|
<tr class="text-section">
|
||||||
<td class="label">Text</td>
|
<td class="label">Text</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="text" id="property-text-text"></input>
|
<input type="text" id="property-text-text"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="text-section">
|
||||||
<td class="label">Line Height</td>
|
<td class="label">Line Height</td>
|
||||||
<td>
|
<td>
|
||||||
<input class="coord" type='number' id="property-text-line-height"></input>
|
<input class="coord" type='number' id="property-text-line-height"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="text-section">
|
||||||
<td class="label">Text Color</td>
|
<td class="label">Text Color</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="input-area">Red <input class="coord" type='number' id="property-text-text-color-red"></input></div>
|
<div class="input-area">R <input class="coord" type='number' id="property-text-text-color-red"></input></div>
|
||||||
<div class="input-area">Green <input class="coord" type='number' id="property-text-text-color-green"></input></div>
|
<div class="input-area">G <input class="coord" type='number' id="property-text-text-color-green"></input></div>
|
||||||
<div class="input-area">Blue <input class="coord" type='number' id="property-text-text-color-blue"></input></div>
|
<div class="input-area">B <input class="coord" type='number' id="property-text-text-color-blue"></input></div>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="text-section">
|
||||||
<td class="label">Background Color</td>
|
<td class="label">Background Color</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="input-area">Red <input class="coord" type='number' id="property-text-background-color-red"></input></div>
|
<div class="input-area">R <input class="coord" type='number' id="property-text-background-color-red"></input></div>
|
||||||
<div class="input-area">Green <input class="coord" type='number' id="property-text-background-color-green"></input></div>
|
<div class="input-area">G <input class="coord" type='number' id="property-text-background-color-green"></input></div>
|
||||||
<div class="input-area">Blue <input class="coord" type='number' id="property-text-background-color-blue"></input></div>
|
<div class="input-area">B <input class="coord" type='number' id="property-text-background-color-blue"></input></div>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr class="light-section">
|
||||||
<td class="label">Spot Light</td>
|
<td class="label">Spot Light</td>
|
||||||
<td>
|
<td>
|
||||||
<input type='checkbox' id="property-light-spot-light">
|
<input type='checkbox' id="property-light-spot-light">
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="light-section">
|
||||||
<td class="label">Diffuse</td>
|
<td class="label">Diffuse</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="input-area">Red <input class="coord" type='number' id="property-light-diffuse-red"></input></div>
|
<div class="input-area">R <input class="coord" type='number' id="property-light-diffuse-red"></input></div>
|
||||||
<div class="input-area">Green <input class="coord" type='number' id="property-light-diffuse-green"></input></div>
|
<div class="input-area">G <input class="coord" type='number' id="property-light-diffuse-green"></input></div>
|
||||||
<div class="input-area">Blue <input class="coord" type='number' id="property-light-diffuse-blue"></input></div>
|
<div class="input-area">B <input class="coord" type='number' id="property-light-diffuse-blue"></input></div>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="light-section">
|
||||||
<td class="label">Ambient</td>
|
<td class="label">Ambient</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="input-area">Red <input class="coord" type='number' id="property-light-ambient-red"></input></div>
|
<div class="input-area">R <input class="coord" type='number' id="property-light-ambient-red"></input></div>
|
||||||
<div class="input-area">Green <input class="coord" type='number' id="property-light-ambient-green"></input></div>
|
<div class="input-area">G <input class="coord" type='number' id="property-light-ambient-green"></input></div>
|
||||||
<div class="input-area">Blue <input class="coord" type='number' id="property-light-ambient-blue"></input></div>
|
<div class="input-area">B <input class="coord" type='number' id="property-light-ambient-blue"></input></div>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="light-section">
|
||||||
<td class="label">Specular</td>
|
<td class="label">Specular</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="input-area">Red <input class="coord" type='number' id="property-light-specular-red"></input></div>
|
<div class="input-area">R <input class="coord" type='number' id="property-light-specular-red"></input></div>
|
||||||
<div class="input-area">Green <input class="coord" type='number' id="property-light-specular-green"></input></div>
|
<div class="input-area">G <input class="coord" type='number' id="property-light-specular-green"></input></div>
|
||||||
<div class="input-area">Blue <input class="coord" type='number' id="property-light-specular-blue"></input></div>
|
<div class="input-area">B <input class="coord" type='number' id="property-light-specular-blue"></input></div>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="light-section">
|
||||||
<td class="label">Constant Attenuation</td>
|
<td class="label">Constant Attenuation</td>
|
||||||
<td>
|
<td>
|
||||||
<input class="coord" type='number' id="property-light-constant-attenuation"></input>
|
<input class="coord" type='number' id="property-light-constant-attenuation"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="light-section">
|
||||||
<td class="label">Linear Attenuation</td>
|
<td class="label">Linear Attenuation</td>
|
||||||
<td>
|
<td>
|
||||||
<input class="coord" type='number' id="property-light-linear-attenuation"></input>
|
<input class="coord" type='number' id="property-light-linear-attenuation"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="light-section">
|
||||||
<td class="label">Quadratic Attenuation</td>
|
<td class="label">Quadratic Attenuation</td>
|
||||||
<td>
|
<td>
|
||||||
<input class="coord" type='number' id="property-light-quadratic-attenuation"></input>
|
<input class="coord" type='number' id="property-light-quadratic-attenuation"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="light-section">
|
||||||
<td class="label">Exponent</td>
|
<td class="label">Exponent</td>
|
||||||
<td>
|
<td>
|
||||||
<input class="coord" type='number' id="property-light-exponent"></input>
|
<input class="coord" type='number' id="property-light-exponent"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<tr>
|
<tr class="light-section">
|
||||||
<td class="label">Cutoff (degrees)</td>
|
<td class="label">Cutoff (degrees)</td>
|
||||||
<td>
|
<td>
|
||||||
<input class="coord" type='number' id="property-light-cutoff"></input>
|
<input class="coord" type='number' id="property-light-cutoff"></input>
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in a new issue