LambertMaterial

Overzicht

LambertMaterial is een klasse in Aspose.3D FOSS voor TypeScript. Erft van: Material.

LambertMaterial.constructor maakt een LambertMaterial instantie, eventueel een naam toekennend.

Deze klasse declareert 9 methoden voor LambertMaterial objecten in TypeScript programma’s. Beschikbare methoden zijn: constructor, findProperty, getProperty, getTexture, removeProperty, setProperty, setTexture, toString. Publieke leden zijn toegankelijk voor elke TypeScript applicatie na het installeren van het Aspose.3D FOSS voor TypeScript pakket. Eigenschappen: MAP_AMBIENT, MAP_DIFFUSE, MAP_EMISSIVE, MAP_NORMAL, MAP_SPECULAR, ambientColor, en nog 6.

Eigenschappen

NaamTypeToegangBeschrijving
MAP_SPECULAR``Lezen/schrijvenHaalt op of stelt de map specular in.
MAP_DIFFUSE``Lezen/schrijvenHaalt of stelt de diffuse kaart in.
MAP_EMISSIVE``Lezen/schrijvenHaalt op of stelt de emissieve map in.
MAP_AMBIENT``Lezen/schrijvenHaalt op of stelt de map ambient in.
MAP_NORMAL``Lezen/schrijvenHaalt op of stelt de normalemap in.
emissiveColor`Vector3null`Lezen/schrijven
ambientColor`Vector3null`Lezen/schrijven
diffuseColor`Vector3null`Lezen/schrijven
transparentColor`Vector3null`Lezen/schrijven
transparencynumberLezen/schrijvenHaalt de transparantie op.
namestringLezen/schrijvenHaalt de naam op.
propertiesPropertyCollectionLezenHaalt de eigenschappen op.

Methoden

HandtekeningBeschrijving
`constructor(name: stringnull)`
getTexture(_slotName: string) → `TextureBasenull`
setTexture(_slotName: string, _texture: TextureBase)Stelt de textuurwaarde in.
constructor(name: string)Roept constructor(name) aan op deze LambertMaterial-instantie.
findProperty(propertyName: string) → `Propertynull`
getProperty(property: string) → anyRoept getProperty(property) aan op deze LambertMaterial instantie.
setProperty(property: string, value: any)Stelt de eigenschapswaarde in.
`removeProperty(property: stringProperty)→boolean`
toString() → stringRoept toString aan op deze LambertMaterial instantie.

Zie ook

 Nederlands