Scene

סקירה

Scene היא מחלקה ב-Aspose.3D FOSS עבור Java. יורשת מ: SceneObject.

מחלקה זו מספקת 81 שיטות לעבודה עם עצמים מסוג Scene בתוכניות Java. השיטות הזמינות כוללות: A3DObject, Scene, SceneObject, clear, createAnimationClip, findProperty, fromFile, fromStream, getAnimationClip, getAnimationClips, getAssetInfo, getCurrentAnimationClip, ועוד 16 שיטות נוספות. כל החברים הציבוריים זמינים לכל יישום Java לאחר התקנת חבילה Aspose.3D FOSS עבור Java. מאפיינים: VERSION, animationClips, assetInfo, currentAnimationClip, library, name, ועוד 5 נוספים.

מאפיינים

שםסוגAccessתיאור
rootNodeNodeקראמקבל את צומת השורש.
assetInfoAssetInfoקראמקבל את פרטי הנכס.
subScenesList<Scene>קראמקבל את תתי הסצנות.
libraryList<A3DObject>קראמקבל את הספרייה.
animationClipsList<AnimationClip>קראמקבל את מקטעי האנימציה.
currentAnimationClipAnimationClipקראמקבל את קטע האנימציה הנוכחי.
posesCollection<Pose>קראמקבל את העמדות.
VERSIONStringקראמקבל את הגרסה.
sceneSceneקראמקבל את הסצנה.
nameStringקראמקבל את השם.
propertiesPropertyCollectionקראמקבל את המאפיינים.

שיטות

Signatureתיאור
Scene()קורא ל‑Scene על מופע Scene זה.
Scene(entity: Entity)קורא ל‑Scene(entity) על מופע Scene זה.
Scene(scene: Scene, name: String)קורא ל‑Scene(scene, name) על מופע Scene זה.
getRootNode()Nodeמחזיר את צומת השורש.
getAssetInfo()AssetInfoמחזיר את פרטי הנכס.
setAssetInfo(value: AssetInfo)מגדיר את ערך מידע הנכס.
getSubScenes()List<Scene>מחזיר את תתי‑הסצנות.
getLibrary()List<A3DObject>מחזיר את הספרייה.
getAnimationClips()List<AnimationClip>מחזיר את קטעי האנימציה.
getCurrentAnimationClip()AnimationClipמחזיר את קטע האנימציה הנוכחי.
setCurrentAnimationClip(value: AnimationClip)מגדיר את ערך קטע האנימציה הנוכחי.
getAnimationClip(name: String)AnimationClipקורא ל‑getAnimationClip(name) במופע ה‑Scene הזה.
createAnimationClip(name: String)AnimationClipקורא ל‑createAnimationClip(name) במופע ה‑Scene הזה.
getPoses()Collection<Pose>מחזיר את הפוזות.
clear()קורא ל‑clear במופע ה‑Scene הזה.
open(filePath: String)קורא ל-open(filePath) על מופע Scene זה.
open(filePath: String, cancellationToken: Cancellation)קורא ל-open(filePath, cancellationToken) על מופע Scene זה.
open(filePath: String, format: FileFormat)קורא ל-open(filePath, format) על מופע Scene זה.
open(filePath: String, format: FileFormat, cancellationToken: Cancellation)קורא ל-open(filePath, format, cancellationToken) על מופע Scene זה.
open(filePath: String, options: LoadOptions)קורא ל‑open(filePath, options) במופע זה של Scene.
open(filePath: String, options: LoadOptions, cancellationToken: Cancellation)קורא ל‑open(filePath, options, cancellationToken) במופע זה של Scene.
open(stream: InputStream)קורא ל‑open(stream) במופע זה של Scene.
open(stream: InputStream, cancellationToken: Cancellation)קורא ל‑open(stream, cancellationToken) במופע זה של Scene.
open(stream: InputStream, format: FileFormat)קורא ל‑open(stream, format) במופע זה של Scene.
open(stream: InputStream, format: FileFormat, cancellationToken: Cancellation)קורא ל‑open(stream, format, cancellationToken) במופע זה של Scene.
open(stream: InputStream, options: LoadOptions)קורא ל‑open(stream, options) במופע זה של Scene.
open(stream: InputStream, options: LoadOptions, cancellationToken: Cancellation)קורא ל‑open(stream, options, cancellationToken) במופע זה של Scene.
open(stream: Stream, format: FileFormat, options: LoadOptions)קורא ל‑open(stream, format, options) על מופע Scene זה.
open(stream: Stream, format: FileFormat, options: LoadOptions, cancellationToken: Cancellation)קורא ל‑open(stream, format, options, cancellationToken) על מופע Scene זה.
open(stream: Stream)קורא ל‑open(stream) על מופע Scene זה.
open(stream: Stream, cancellationToken: Cancellation)קורא ל‑open(stream, cancellationToken) על מופע Scene זה.
open(stream: Stream, format: FileFormat)קורא ל‑open(stream, format) על מופע Scene זה.
open(stream: Stream, format: FileFormat, cancellationToken: Cancellation)קורא ל‑open(stream, format, cancellationToken) על מופע Scene זה.
open(stream: Stream, options: LoadOptions)קורא ל‑open(stream, options) על מופע Scene זה.
open(stream: Stream, options: LoadOptions, cancellationToken: Cancellation)קורא ל‑open(stream, options, cancellationToken) על מופע Scene זה.
fromFile(filePath: String)Sceneקורא fromFile(filePath) על מופע ה‑Scene הזה.
fromFile(filePath: String, cancellationToken: Cancellation)Sceneקורא fromFile(filePath, cancellationToken) על מופע ה‑Scene הזה.
fromFile(filePath: String, format: FileFormat)Sceneקורא fromFile(filePath, format) על מופע ה‑Scene הזה.
fromFile(filePath: String, format: FileFormat, cancellationToken: Cancellation)Sceneקורא fromFile(filePath, format, cancellationToken) על מופע ה‑Scene הזה.
fromFile(filePath: String, options: LoadOptions)Sceneקורא fromFile(filePath, options) על מופע Scene הזה.
fromFile(filePath: String, options: LoadOptions, cancellationToken: Cancellation)Sceneקורא fromFile(filePath, options, cancellationToken) על מופע Scene הזה.
fromStream(stream: InputStream)Sceneקורא fromStream(stream) על מופע Scene הזה.
fromStream(stream: InputStream, cancellationToken: Cancellation)Sceneקורא fromStream(stream, cancellationToken) על מופע Scene הזה.
fromStream(stream: InputStream, format: FileFormat)Sceneקורא fromStream(stream, format) על מופע Scene הזה.
fromStream(stream: InputStream, format: FileFormat, cancellationToken: Cancellation)Sceneקורא fromStream(stream, format, cancellationToken) על מופע Scene הזה.
fromStream(stream: InputStream, options: LoadOptions)Sceneקורא fromStream(stream, options) על מופע Scene הזה.
fromStream(stream: InputStream, options: LoadOptions, cancellationToken: Cancellation)Sceneקורא fromStream(stream, options, cancellationToken) על מופע Scene הזה.
fromStream(stream: Stream)Sceneמפעיל fromStream(stream) במופע Scene זה.
fromStream(stream: Stream, cancellationToken: Cancellation)Sceneמפעיל fromStream(stream, cancellationToken) במופע Scene זה.
fromStream(stream: Stream, format: FileFormat)Sceneמפעיל fromStream(stream, format) במופע Scene זה.
fromStream(stream: Stream, format: FileFormat, cancellationToken: Cancellation)Sceneמפעיל fromStream(stream, format, cancellationToken) במופע Scene זה.
fromStream(stream: Stream, options: LoadOptions)Sceneמפעיל fromStream(stream, options) במופע Scene זה.
fromStream(stream: Stream, options: LoadOptions, cancellationToken: Cancellation)Sceneמפעיל fromStream(stream, options, cancellationToken) במופע Scene זה.
save(filePath: String)מפעיל save(filePath) במופע Scene זה.
save(filePath: String, format: FileFormat)מפעיל save(filePath, format) במופע Scene זה.
save(filePath: String, format: FileFormat, cancellationToken: Cancellation)קורא ל‑save(filePath, format, cancellationToken) על מופע Scene זה.
save(filePath: String, options: SaveOptions)קורא ל‑save(filePath, options) על מופע Scene זה.
save(filePath: String, options: SaveOptions, cancellationToken: Cancellation)קורא ל‑save(filePath, options, cancellationToken) על מופע Scene זה.
save(stream: OutputStream, format: FileFormat)קורא ל‑save(stream, format) על מופע Scene זה.
save(stream: OutputStream, format: FileFormat, cancellationToken: Cancellation)מפעיל save(stream, format, cancellationToken) על מופע ה‑Scene הזה.
save(stream: OutputStream, options: SaveOptions)מפעיל save(stream, options) על מופע ה‑Scene הזה.
save(stream: OutputStream, options: SaveOptions, cancellationToken: Cancellation)מפעיל save(stream, options, cancellationToken) על מופע ה‑Scene הזה.
save(stream: OutputStream, format: FileFormat, options: SaveOptions)מפעיל save(stream, format, options) על מופע ה‑Scene הזה.
save(stream: OutputStream, format: FileFormat, options: SaveOptions, cancellationToken: Cancellation)מפעיל save(stream, format, options, cancellationToken) על מופע ה‑Scene הזה.
save(stream: Stream, format: FileFormat)מפעיל save(stream, format) על מופע ה‑Scene הזה.
save(stream: Stream, format: FileFormat, cancellationToken: Cancellation)מפעיל save(stream, format, cancellationToken) על מופע ה‑Scene הזה.
save(stream: Stream, options: SaveOptions)מפעיל save(stream, options) על מופע ה‑Scene הזה.
save(stream: Stream, options: SaveOptions, cancellationToken: Cancellation)קורא ל‑save(stream, options, cancellationToken) על מופע ה‑Scene הזה.
render(camera: Camera, fileName: String)לא מיושם במהדורת FOSS — נזרק בזמן ריצה. קורא ל‑render(camera, fileName) על מופע ה‑Scene הזה.
render(camera: Camera, fileName: String, size: Vector2, format: String)לא מיושם במהדורת FOSS — נזרק בזמן ריצה. קורא ל‑render(camera, fileName, size, format) על מופע ה‑Scene הזה.
render(camera: Camera, texture: TextureData)לא מיושם במהדורת FOSS — נזרק בזמן ריצה. קורא ל‑render(camera, texture) על מופע ה‑Scene הזה.
SceneObject()ה-Boolean operator מאפשר לך להחיל Boolean operation על שני מופעי IMeshConvertible.
getScene()Sceneקונסטרוקטור של BooleanOperator.
A3DObject()צילינדר פרמטרי. ניתן גם להשתמש בו כדי לייצג קונוס כאשר אחד מה‑radiusTop/radiusBottom הוא אפס.
getName()Stringהקטעים של העקומה.
setName(name: String)בונה פרופיל CircleShape עם רדיוס שצוין.
getProperties()PropertyCollectionמאתחל מופע חדש של מחלקת Cylinder.
findProperty(name: String)Propertyמאתחל מופע חדש של מחלקת Bone.
getProperty(name: String)Objectמקבל את מטריצת ההמרה של הצומת בפוזה הנוכחית.
setProperty(name: String, value: Object)מקבל את מקטעי הרוחב.
removeProperty(name: String)booleanמקבל מערכת קואורדינטות הפוכה של נקודות הבקרה/הנורמל במהלך ייבוא/ייצוא.

ראה גם

 עברית