RedView unique key policy change- Related Issues : #666
- RedView 생성자 및 RedWorld 인스턴스 메서드 변경.
(RedView constructor & RedWorld instance method change.)
-
before
RedView('Unique key', RedGL Instance, RedScene Instance, RedCamera)
-
now
- RedView는 더 이상 고유 키를 사용하지 않습니다.
(RedView no longer uses the unique key.)
RedView(RedGL Instance, RedScene Instance, RedCamera)
- 이제 (RedWorld Instance) .addView를 호출 할 때 고유 키가 지정되도록 변경되었습니다.
(The unique key has now been changed to be specified when calling (RedWorld Instance) .addView.)
(RedWorld Instance).addView(RedView Instance, 'unique key*')
- 고유 키는 addView 메소드로 RedView를 등록 할 때 선택 사항입니다.
( The unique key is optional when registering RedView with addView method.)
Object3D pivotX, pivotY, pivotZ - Related Issues : #663

// code
(RedMesh Instance).pivotX = 0;
(RedMesh Instance).pivotY = 1;
(RedMesh Instance).pivotZ = 2;
-
- Object3D에 Pivot Point 가 추가되었습니다.
(Pivot Point has been added to Object3D.)
Object3D lookAt - Related Issues : #649

// code
(RedMesh Instance).lookAt( x, y, z )
-
- lookAt 메서드가 Object3D에 추가되었습니다.
(A lookAt method has been added to Object3D.)
RedDefinePropertyInfo.definePrototypes - Related Issues : #654
var RedBitmapMaterial = function(){};
RedDefinePropertyInfo.definePrototypes(
'RedBitmapMaterial',
['diffuseTexture', 'sampler2D', {essential: true}],
['alpha', 'number', {min: 0, max: 1}],
['usePreMultiply', 'boolean', samplerOption]
);
- RedDefinePropertyInfo.definePrototypes 기능이 추가되었습니다.
보다 편리하게 프로토타입 속성을 추가 할수 있습니다.
- RedDefinePropertyInfo.definePrototypes feature added.
You can add prototype attributes more conveniently.
ETC
- 문서화 주석 정의가 변경되었습니다.
(Documentation annotation definition changed.)
/ ** DOC:
-> / * DOC