123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459 |
- //------------------------------------------------------------------------------
- // <auto-generated />
- //
- // This file was automatically generated by SWIG (http://www.swig.org).
- // Version 3.0.12
- //
- // Do not make changes to this file unless you know what you are doing--modify
- // the SWIG interface file instead.
- //------------------------------------------------------------------------------
- namespace Autodesk.Fbx {
- public class FbxTexture : FbxObject {
- internal FbxTexture(global::System.IntPtr cPtr, bool ignored) : base(cPtr, ignored) { }
- // override void Dispose() {base.Dispose();}
- public new static FbxTexture Create(FbxManager pManager, string pName) {
- global::System.IntPtr cPtr = NativeMethods.FbxTexture_Create__SWIG_0(FbxManager.getCPtr(pManager), pName);
- FbxTexture ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxTexture(cPtr, false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public new static FbxTexture Create(FbxObject pContainer, string pName) {
- global::System.IntPtr cPtr = NativeMethods.FbxTexture_Create__SWIG_1(FbxObject.getCPtr(pContainer), pName);
- FbxTexture ret = (cPtr == global::System.IntPtr.Zero) ? null : new FbxTexture(cPtr, false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public FbxPropertyDouble Alpha {
- get {
- FbxPropertyDouble ret = new FbxPropertyDouble(NativeMethods.FbxTexture_Alpha_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public FbxPropertyEWrapMode WrapModeU {
- get {
- FbxPropertyEWrapMode ret = new FbxPropertyEWrapMode(NativeMethods.FbxTexture_WrapModeU_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public FbxPropertyEWrapMode WrapModeV {
- get {
- FbxPropertyEWrapMode ret = new FbxPropertyEWrapMode(NativeMethods.FbxTexture_WrapModeV_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public FbxPropertyBool UVSwap {
- get {
- FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxTexture_UVSwap_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public FbxPropertyBool PremultiplyAlpha {
- get {
- FbxPropertyBool ret = new FbxPropertyBool(NativeMethods.FbxTexture_PremultiplyAlpha_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public FbxPropertyDouble3 Translation {
- get {
- FbxPropertyDouble3 ret = new FbxPropertyDouble3(NativeMethods.FbxTexture_Translation_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public FbxPropertyDouble3 Rotation {
- get {
- FbxPropertyDouble3 ret = new FbxPropertyDouble3(NativeMethods.FbxTexture_Rotation_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public FbxPropertyDouble3 Scaling {
- get {
- FbxPropertyDouble3 ret = new FbxPropertyDouble3(NativeMethods.FbxTexture_Scaling_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public FbxPropertyDouble3 RotationPivot {
- get {
- FbxPropertyDouble3 ret = new FbxPropertyDouble3(NativeMethods.FbxTexture_RotationPivot_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public FbxPropertyDouble3 ScalingPivot {
- get {
- FbxPropertyDouble3 ret = new FbxPropertyDouble3(NativeMethods.FbxTexture_ScalingPivot_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public FbxPropertyEBlendMode CurrentTextureBlendMode {
- get {
- FbxPropertyEBlendMode ret = new FbxPropertyEBlendMode(NativeMethods.FbxTexture_CurrentTextureBlendMode_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public FbxPropertyString UVSet {
- get {
- FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxTexture_UVSet_get(swigCPtr), false);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- }
- public static string sVectorSpace {
- get {
- string ret = NativeMethods.FbxTexture_sVectorSpace_get();
- return ret;
- }
- }
- public static string sVectorSpaceWorld {
- get {
- string ret = NativeMethods.FbxTexture_sVectorSpaceWorld_get();
- return ret;
- }
- }
- public static string sVectorSpaceObject {
- get {
- string ret = NativeMethods.FbxTexture_sVectorSpaceObject_get();
- return ret;
- }
- }
- public static string sVectorSpaceTangent {
- get {
- string ret = NativeMethods.FbxTexture_sVectorSpaceTangent_get();
- return ret;
- }
- }
- public static string sVectorEncoding {
- get {
- string ret = NativeMethods.FbxTexture_sVectorEncoding_get();
- return ret;
- }
- }
- public static string sVectorEncodingFP {
- get {
- string ret = NativeMethods.FbxTexture_sVectorEncodingFP_get();
- return ret;
- }
- }
- public static string sVectorEncodingSE {
- get {
- string ret = NativeMethods.FbxTexture_sVectorEncodingSE_get();
- return ret;
- }
- }
- public virtual void Reset() {
- NativeMethods.FbxTexture_Reset(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public void SetSwapUV(bool pSwapUV) {
- NativeMethods.FbxTexture_SetSwapUV(swigCPtr, pSwapUV);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public bool GetSwapUV() {
- bool ret = NativeMethods.FbxTexture_GetSwapUV(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void SetPremultiplyAlpha(bool pPremultiplyAlpha) {
- NativeMethods.FbxTexture_SetPremultiplyAlpha(swigCPtr, pPremultiplyAlpha);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public bool GetPremultiplyAlpha() {
- bool ret = NativeMethods.FbxTexture_GetPremultiplyAlpha(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void SetAlphaSource(FbxTexture.EAlphaSource pAlphaSource) {
- NativeMethods.FbxTexture_SetAlphaSource(swigCPtr, (int)pAlphaSource);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public FbxTexture.EAlphaSource GetAlphaSource() {
- FbxTexture.EAlphaSource ret = (FbxTexture.EAlphaSource)NativeMethods.FbxTexture_GetAlphaSource(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void SetCropping(int pLeft, int pTop, int pRight, int pBottom) {
- NativeMethods.FbxTexture_SetCropping(swigCPtr, pLeft, pTop, pRight, pBottom);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public int GetCroppingLeft() {
- int ret = NativeMethods.FbxTexture_GetCroppingLeft(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public int GetCroppingTop() {
- int ret = NativeMethods.FbxTexture_GetCroppingTop(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public int GetCroppingRight() {
- int ret = NativeMethods.FbxTexture_GetCroppingRight(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public int GetCroppingBottom() {
- int ret = NativeMethods.FbxTexture_GetCroppingBottom(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void SetMappingType(FbxTexture.EMappingType pMappingType) {
- NativeMethods.FbxTexture_SetMappingType(swigCPtr, (int)pMappingType);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public FbxTexture.EMappingType GetMappingType() {
- FbxTexture.EMappingType ret = (FbxTexture.EMappingType)NativeMethods.FbxTexture_GetMappingType(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void SetPlanarMappingNormal(FbxTexture.EPlanarMappingNormal pPlanarMappingNormal) {
- NativeMethods.FbxTexture_SetPlanarMappingNormal(swigCPtr, (int)pPlanarMappingNormal);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public FbxTexture.EPlanarMappingNormal GetPlanarMappingNormal() {
- FbxTexture.EPlanarMappingNormal ret = (FbxTexture.EPlanarMappingNormal)NativeMethods.FbxTexture_GetPlanarMappingNormal(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void SetTextureUse(FbxTexture.ETextureUse pTextureUse) {
- NativeMethods.FbxTexture_SetTextureUse(swigCPtr, (int)pTextureUse);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public FbxTexture.ETextureUse GetTextureUse() {
- FbxTexture.ETextureUse ret = (FbxTexture.ETextureUse)NativeMethods.FbxTexture_GetTextureUse(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void SetWrapMode(FbxTexture.EWrapMode pWrapU, FbxTexture.EWrapMode pWrapV) {
- NativeMethods.FbxTexture_SetWrapMode(swigCPtr, (int)pWrapU, (int)pWrapV);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public FbxTexture.EWrapMode GetWrapModeU() {
- FbxTexture.EWrapMode ret = (FbxTexture.EWrapMode)NativeMethods.FbxTexture_GetWrapModeU(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public FbxTexture.EWrapMode GetWrapModeV() {
- FbxTexture.EWrapMode ret = (FbxTexture.EWrapMode)NativeMethods.FbxTexture_GetWrapModeV(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void SetBlendMode(FbxTexture.EBlendMode pBlendMode) {
- NativeMethods.FbxTexture_SetBlendMode(swigCPtr, (int)pBlendMode);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public FbxTexture.EBlendMode GetBlendMode() {
- FbxTexture.EBlendMode ret = (FbxTexture.EBlendMode)NativeMethods.FbxTexture_GetBlendMode(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void SetDefaultAlpha(double pAlpha) {
- NativeMethods.FbxTexture_SetDefaultAlpha(swigCPtr, pAlpha);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public double GetDefaultAlpha() {
- double ret = NativeMethods.FbxTexture_GetDefaultAlpha(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void SetTranslation(double pU, double pV) {
- NativeMethods.FbxTexture_SetTranslation(swigCPtr, pU, pV);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public double GetTranslationU() {
- double ret = NativeMethods.FbxTexture_GetTranslationU(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public double GetTranslationV() {
- double ret = NativeMethods.FbxTexture_GetTranslationV(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void SetRotation(double pU, double pV, double pW) {
- NativeMethods.FbxTexture_SetRotation__SWIG_0(swigCPtr, pU, pV, pW);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public void SetRotation(double pU, double pV) {
- NativeMethods.FbxTexture_SetRotation__SWIG_1(swigCPtr, pU, pV);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public double GetRotationU() {
- double ret = NativeMethods.FbxTexture_GetRotationU(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public double GetRotationV() {
- double ret = NativeMethods.FbxTexture_GetRotationV(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public double GetRotationW() {
- double ret = NativeMethods.FbxTexture_GetRotationW(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public void SetScale(double pU, double pV) {
- NativeMethods.FbxTexture_SetScale(swigCPtr, pU, pV);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- }
- public double GetScaleU() {
- double ret = NativeMethods.FbxTexture_GetScaleU(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public double GetScaleV() {
- double ret = NativeMethods.FbxTexture_GetScaleV(swigCPtr);
- if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
- return ret;
- }
- public override int GetHashCode(){
- return swigCPtr.Handle.GetHashCode();
- }
- public bool Equals(FbxTexture other) {
- if (object.ReferenceEquals(other, null)) { return false; }
- return this.swigCPtr.Handle.Equals (other.swigCPtr.Handle);
- }
- public override bool Equals(object obj){
- if (object.ReferenceEquals(obj, null)) { return false; }
- /* is obj a subclass of this type; if so use our Equals */
- var typed = obj as FbxTexture;
- if (!object.ReferenceEquals(typed, null)) {
- return this.Equals(typed);
- }
- /* are we a subclass of the other type; if so use their Equals */
- if (typeof(FbxTexture).IsSubclassOf(obj.GetType())) {
- return obj.Equals(this);
- }
- /* types are unrelated; can't be a match */
- return false;
- }
- public static bool operator == (FbxTexture a, FbxTexture b) {
- if (object.ReferenceEquals(a, b)) { return true; }
- if (object.ReferenceEquals(a, null) || object.ReferenceEquals(b, null)) { return false; }
- return a.Equals(b);
- }
- public static bool operator != (FbxTexture a, FbxTexture b) {
- return !(a == b);
- }
- public enum EWrapMode {
- eRepeat,
- eClamp
- }
- public enum EBlendMode {
- eTranslucent,
- eAdditive,
- eModulate,
- eModulate2,
- eOver
- }
- public enum EAlphaSource {
- eNone,
- eRGBIntensity,
- eBlack
- }
- public enum EMappingType {
- eNull,
- ePlanar,
- eSpherical,
- eCylindrical,
- eBox,
- eFace,
- eUV,
- eEnvironment
- }
- public enum EPlanarMappingNormal {
- ePlanarNormalX,
- ePlanarNormalY,
- ePlanarNormalZ
- }
- public enum ETextureUse {
- eStandard,
- eShadowMap,
- eLightMap,
- eSphericalReflectionMap,
- eSphereReflectionMap,
- eBumpNormalMap
- }
- }
- }
|